LinearProgress
Linear progress bar for determinate operations.
File: example/lib/widgets/linear_progress.dart
Factory Methods
FBLinearProgress.basic()- Simple progress barFBLinearProgress.labeled()- With percentage labelFBLinearProgress.animated()- Smooth animationFBLinearProgress.striped()- Striped pattern
Properties
value: double (0.0 to 1.0)
minHeight: double
backgroundColor: Color
valueColor: Color
semanticsLabel: String
semanticsValue: String
Usage Example
Column(
children: [
Text('Download Progress'),
FBLinearProgress.animated(
value: 0.65,
minHeight: 8,
),
],
)
With Label
FBLinearProgress.labeled(
value: downloadProgress,
label: '${(downloadProgress * 100).toStringAsFixed(0)}%',
minHeight: 12,
)