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,
),