FLUTTER ECOSYSTEM

splashbyte/widget_loading

用於加載小部件內容的簡單小部件。

widget_loading 專案封面
Stars
18
Forks
1
最近推送(UTC)
2024年8月31日
專案狀態
未封存
SplashByte GitHub avatar
GITHUB Organization

SplashByte ↗

Germany
語言DartHTMLSwiftKotlinObjective-C

此儲存庫發佈的套件

使用的依賴

依賴清單 2 項
  • flutter{"sdk":"flutter"}
  • flutter_test開發依賴{"sdk":"flutter"}

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

Widget Loading

pub.dev github likes popularity pub points license

buy me a coffee

If you like this package, please leave a like there on pub.dev and star on GitHub.

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.

example1 example2

Easy Usage

Easy to use and highly customizable.

WiperLoading
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
CircularWidgetLoading(
  loading: loading,
  child: yourChild,
  ...
)