Skip to content

LinearProgress ​

A horizontal progress bar with a percentage-label variant and a striped variant.

View source on GitHub ↗

CLI ​

Install this component into your project:

linear-progress
$flutter_beautify add linear-progress

Variants ​

FBLinearProgress.standard() · FBLinearProgress.withLabel() (adds a percentage label) · FBLinearProgress.striped()

Key parameters ​

ParameterTypeDefault
valuedoublerequired — 0.0–1.0
heightdouble6
valueColorColor?ambient colorScheme.primary

Usage ​

dart
import 'package:your_app/widgets/linear_progress.dart';

FBLinearProgress.withLabel(value: uploadProgress);

Released under the MIT License.