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,
  ...
)