v2.1.1loading_overlay_pro
一个带有简单小部件包装器集的全新 Flutter 项目,用于为 Flutter 项目添加加载动画。
HVLoc/loading_overlay_pro open-source repository details.
以下为英文项目原文快照,最新内容请访问 GitHub。
A simple widget wrapper set of loading animations for Flutter projects.
Use animation from loading_animations
Then import the file to your project:
import 'package:loading_overlay_pro/loading_overlay_pro.dart'
Then add the following code:
LoadingOverlayPro({
Key key,
@required this.isLoading,
@required this.child,
this.colorBackground = Colors.black54,
this.progressIndicator = const LoadingBouncingLine.circle(),
});
Or customize it even more!
LoadingBouncingLine.circle(
borderColor: Colors.cyan,
borderSize: 3.0,
size: 120.0,
backgroundColor: Colors.cyanAccent,
duration: Duration(milliseconds: 500),
);
or add header and bottom
headerLoading: Text("App Name"),
bottomLoading: Text("Loading..."),
For more customization, please look inside the loading animation files.
Note: all the animations come ready to go just by calling LoadingBouncingLine.square(), for example.
Many basic animations contain .circle() and .square() variations by default.
To run file example, please use flutter 1.19.x or 1.20.x


依赖清单 3 项
{"sdk":"flutter"}^1.0.2{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗