パッケージ、リポジトリ、アプリカテゴリを検索

GitHub リポジトリwatery-desert/loading_animation_widget

loading_animation_widget

Flutter ロードアニメーションウィジェット。

loading_animation_widget のプロジェクト画像
スター
189
フォーク
51
最終プッシュ(UTC)
2024/10/02
プロジェクト状態
公開中

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

Loading Animation Widget

YouTube Badge Twitter Badge Patreon Badge pub package WateryDesert


How to use

Installation

Add loading_animation_widget: to your pubspec.yaml dependencies then run flutter pub get

 dependencies:
  loading_animation_widget:
Import

Add this line to import the package.

import 'package:loading_animation_widget/loading_animation_widget.dart';


All loading animation APIs are same straight forward. There is a static method for each animation inside LoadingAnimationWidget class, which returns the Object of that animation. Both size and color are required some animations need more than one color.

Loading animation with one color

Scaffold(
    body: Center(
      child: LoadingAnimationWidget.staggeredDotsWave(
        color: Colors.white,
        size: 200,
      ),
    ),

Loading animation with more than one color. You have to provide both required colors.

Scaffold(
    body: Center(
        child: LoadingAnimationWidget.twistingDots(
          leftDotColor: const Color(0xFF1A1A3F),
          rightDotColor: const Color(0xFFEA3799),
          size: 200,
        ),
      ),

Screen recordings with design credits

waveDots

inkDrop

twistingDots

threeRotatingDots

staggeredDotsWave

fourRotatingDots

fallingDot

progressiveDots

discreteCircular

threeArchedCircle

bouncingBall

flickr

hexagonDots

beat

twoRotatingArc

horizontalRotatingDots

newtonCradle

stretchedDots

halfTriangleDot

dotsTriangle


All flutter packages

● Sliding Clipped Nav Bar
● Water Drop Nav Bar
● Swipeable Tile
➜ Loading Animation Widget


Watery Desert GitHub avatar
GitHub 作者

Watery Desert ↗

FullStack developer

言語Dart

カテゴリー

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 3 件

  • flutter{"sdk":"flutter"}
  • flutter_test開発用{"sdk":"flutter"}
  • flutter_lints開発用^1.0.0

プロジェクトに合うリポジトリを選ぶには?

用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。

  1. 名前・作者・説明で検索し、技術トピックで絞り込みます。
  2. スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
  3. 利用前に GitHub で README、ライセンス、Issues を確認します。

情報源と管理

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗