v0.3.0
progresso
Flutter용 선형 진행 막대, 0이 아닌 시작값, 선 위의 점, 사용자 정의 스타일을 허용합니다
23좋아요 45430일 다운로드160Pub 점수
AndroidiOSWebmacOSWindowsLinux
Flutter용 선형 진행 막대
{"sdk":"flutter"}{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A linear progress bar for Flutter.
Add to pubspec.yaml
progresso: <lastest version>
import in your flutter project
import 'package:progresso/progresso.dart';
In its simplest form Progresso takes a progress parameter (0.0 to 1.0)
basic
Progresso(progress: 0.5);
You can also configure the color
custom color
Progresso(
progress: 0.5,
progressColor: Colors.red,
backgroundColor: Colors.blue
);
Progresso can even start at a value that is not zero!
non-zero start
Progresso(start: 0.3, progress: 0.5);
Give the progress bar different stroke caps:
round end caps
Progresso(
progress: 0.5,
progressStrokeCap: StrokeCap.round,
backgroundStrokeCap: StrokeCap.round
);
Give a List of points to show points along the progress bar
points
Progresso(progress: 0.5, points: [0.2, 0.4]);