FLUTTER ECOSYSTEM

rodrileonel/progress_indicator

Flutter 的進度指示器

進度指示器 專案封面
Stars
1
Forks
0
最近推送(UTC)
2022年4月19日
專案狀態
未封存
Rodrigo GitHub avatar
GITHUB User

Rodrigo ↗

Software engineer

Mobile engineerPeru
語言Dart

此儲存庫發佈的套件

使用的依賴

依賴清單 2 項
  • flutter{"sdk":"flutter"}
  • flutter_test開發依賴{"sdk":"flutter"}

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

Progress Indicator

CircularProgress

Features

  • circular progress indicator.
  • bar progress indicator.

Usage

import 'package:progress_indicator/progress_indicator.dart';
CircularProgressIndicator
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,
),
BarProgressIndicator
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,
),