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

loading_animation_widget のカバー
パッケージ詳細v1.3.0

loading_animation_widget

読み込みアニメーションまたは読み込みスピナーまたはローダー。アプリが読み込み状態にある、または何らかの処理が予期せぬ時間かかる場合に、読み込みアニメーションを表示するために使用されます。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
17.1万
いいね数
2030
Pub ポイント
150

パッケージをインストール

flutter pub add loading_animation_widget

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Flutterパッケージで、カスタマイズ可能なローディングアニメーション、スピンナーやローダーを提供し、アプリ内の読み込みまたは処理状態を視覚的に示します。さまざまなアニメーションスタイルをサポートしており、非同期操作中のユーザー体験を向上させるのに最適です。ウィジェットは軽量で、統合が簡単で、Android、iOS、Web、macOS、Windows、Linuxなどすべての主要プラットフォームで動作します。データの取得中やタスク実行中に進捗を表示するのにぴったりです。

用途

  • API 呼び出し中のロード状態を表示する
  • バックグラウンド処理の表示
  • データ取得中のUIの向上
  • アプリの初期化進行状況を表示しています
  • 画面遷移中のUXの向上

主な機能

  • 複数の組み込みアニメーションスタイル
  • カスタマイズ可能なサイズと色
  • クロスプラットフォーム互換性
  • Flutter との簡単な統合
  • 軽量でパフォーマンスに優れる
  • 円形および線形ローダーの両方をサポート

適している対象

  • 応答性のあるUIを構築する開発者
  • 非同期操作中に視覚フィードバックが必要なアプリ
  • アニメーションインジケーターを探しているUI/UXデザイナー
  • 複数プラットフォーム向けのプロジェクト

注意事項

  • 複雑なデザインには追加のスタイリングが必要になる場合があります
  • 基本プロパティを超えるカスタマイズは限られている
  • 非常に高い頻度での更新には最適化されていません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

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


カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト