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

パッケージ詳細v3.0.0

flare_loading

カスタムFlareアニメーションに基づくロードウィジェットで、美しいカスタムロードウィジェットやダイアログを作成できます

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
784
いいね数
36
Pub ポイント
130

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

flutter pub add flare_loading

パッケージ概要

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

Flareアニメーションによって駆動されるカスタマイズ可能なローディングウィジェットを提供するFlutterパッケージです。開発者が滑らかでアニメーションされたグラフィックスを備えた、視覚的に魅力的なローディングインジケーターやダイアログを作成できるようにします。複数のプラットフォームへの統合を想定して構築されており、Flareアニメーションの柔軟性を活用することで、複雑なカスタムコーディングなしに魅力的なユーザー体験を提供します。非同期操作中に洗練されたアニメーションフィードバックが必要なアプリに最適です。

用途

  • カスタムローディングインジケーター
  • オンボーディング画面
  • 非同期操作のフィードバック
  • アプリのスプラッシュ画面
  • ロードダイアログ
  • インタラクティブなUI要素

主な機能

  • Flare をベースとしたアニメーション
  • クロスプラットフォーム対応
  • 簡単なカスタマイズ
  • スムーズなパフォーマンス
  • 再利用可能なコンポーネント
  • 軽量な統合

適している対象

  • デザイン重視のアプリ
  • モバイルおよびWebアプリケーション
  • UI/UX向上プロジェクト
  • アニメーションフィードバックが必要なアプリ
  • Flare アニメーションを使用する開発者

注意事項

  • Flare アニメーションファイルが必要です
  • Flare互換のワークフローに限定
  • アプリのサイズが増加する可能性があります
  • 適切なアセット管理が必要です
  • シンプルなスパイラに適していません
  • Flareランタイムに依存

元の README

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

flare_loading

pub package

Loading widget based on a Flare animation, allow you to create custom loading widgets or dialogs

If you're using Rive instead of Flare please use rive_loading

Usage

FlareLoading(
  name: 'animation.flr', 
  startAnimation: 'intro',
  loopAnimation: 'circle',
  endAnimation: 'end',
);

name: path and name of the flare animation

until: callback that return a future to process your initialization

isLoading: alternative to until if you want to manage loading state with a boolean

loopAnimation: animation name to run in loop

endAnimation: animation name to run once until is complete or isLoading false

startAnimation: animation name to run once as start

height: force the height of the flare animation, by default it take the all place available

width: force the width of the flare animation, by default it take the all place available

alignment: alignment of the flare animation, center by default

onSuccess callback called when the animation is finished and isLoading is false or until is complete

onError callback called until has failed

Available mode

Only one animation

Basically you have one animation to show and then just need to stay at last frame. In order to do that only specify the startAnimation

Start and loop animation

Your animation have an intro and a loop state, in order to do that only specify the startAnimation and loopAnimation

End and loop animation

Your animation have a finish and a loop state, in order to do that only specify the endAnimation and loopAnimation

Start and end animation

Your animation have an intro and a finish that should stay on the last frame, in order to do that only startAnimation and endAnimation

Start, end and loop animation

Your animation have an intro, a finish and a loop state, in order to do that specify the startAnimation, endAnimation and loopAnimation

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

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