v0.2.2
progress_indicator
一個有用的自訂進度指示器集合,適用於 Flutter。
36喜歡 335近 30 天下載140Pub 分數
AndroidiOSWebmacOSWindowsLinux
Flutter 的進度指示器
{"sdk":"flutter"}{"sdk":"flutter"}以下為英文專案原文快照,最新內容請造訪 GitHub。
CircularProgress
import 'package:progress_indicator/progress_indicator.dart';
CircularProgress(
percentage: 90.0,
color: Colors.amber,
backColor: Colors.grey,
gradient: LinearGradient(colors: [Colors.blue, Colors.red]),
showPercentage: true,
textStyle:TextStyle(color: Colors.orange,fontSize: 70),
stroke: 20,
round: true,
),
BarProgress(
percentage: 30.0,
backColor: Colors.grey,
gradient: LinearGradient(colors: [Colors.blue, Colors.red]),
showPercentage: true,
textStyle:TextStyle(color: Colors.orange,fontSize: 70),
stroke: 40,
round: true,
),