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 ↗