v0.4.0widget_loading
一种简单的方法,可以在尚未有内容显示时隐藏控件,同时需要加载动画。
94喜欢 536近 30 天下载150Pub 分数
AndroidiOSWebmacOSWindowsLinux
用于加载小部件内容的简单小部件。
以下为英文项目原文快照,最新内容请访问 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.
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,
...
)
依赖清单 2 项
{"sdk":"flutter"}{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗