v0.4.0widget_loading
まだ表示するものがないときにウィジェットを非表示にし、同時にローディングアニメーションが必要な場合の簡単な方法です。
94いいね 55730日間ダウンロード150Pub ポイント
AndroidiOSWebmacOSWindowsLinux
ウィジェットのコンテンツを読み込むためのシンプルなウィジェット。
{"sdk":"flutter"}{"sdk":"flutter"}以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
pub.dev github likes popularity pub points license
Simple widgets for loading widget contents. It's an easy way to hide a widget when you have nothing to show and need a loading animation at the same time.
Easy to use and highly customizable.
WiperLoading(
loading: loading,
interval: interval,
wiperDeformingFactor: deformingFactor,
curve: curve,
wiperBuilder: builder
wiperWidth: wiperWidth,
wiperColor: wiperColor,
wiperBuilder: wiperBuilder,
sizeCurve: sizeCurve,
sizeDuration: sizeDuration,
direction: wiperDirection,
child: Padding(
padding: const EdgeInsets.all(15.0),
child: yourChild,
),
...
)
or
WiperLoading.future(future: futureOfYourWidget, ...)
CircularWidgetLoading(
loading: loading,
child: yourChild,
...
)