LinearProgress
A horizontal progress bar with a percentage-label variant and a striped variant.
CLI
Install this component into your project:
linear-progress
$
flutter_beautify add linear-progressVariants
FBLinearProgress.standard() · FBLinearProgress.withLabel() (adds a percentage label) · FBLinearProgress.striped()
Key parameters
| Parameter | Type | Default |
|---|---|---|
value | double | required — 0.0–1.0 |
height | double | 6 |
valueColor | Color? | ambient colorScheme.primary |
Usage
dart
import 'package:your_app/widgets/linear_progress.dart';
FBLinearProgress.withLabel(value: uploadProgress);