v0.3.0
progresso
Uma barra de progresso linear para o flutter, permite início não zero, pontos ao longo da linha e estilos personalizados
23Curtidas 454Downloads em 30 dias160Pontos Pub
AndroidiOSWebmacOSWindowsLinux
Barra de progresso linear para Flutter
{"sdk":"flutter"}{"sdk":"flutter"}Texto original em inglês. Visite o GitHub para a versão atual.
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]);