v0.4.0widget_loading
一種簡單的方式,在尚無內容顯示時隱藏組件,同時需要載入動畫。
94喜歡 557近 30 天下載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,
...
)