FastLinearProgressBarIndicator constructor
const
FastLinearProgressBarIndicator({
- Key? key,
- Duration animationDuration = const Duration(milliseconds: 300),
- bool showProgressLabel = false,
- bool showAsPercentage = false,
- int fractionDigits = 2,
- double minBarHeight = 8,
- double maxValue = 100,
- bool animate = true,
- double barRadius = 4,
- double minValue = 0,
- double value = 0,
- StringCallback<
double> ? progressLabelBuilder, - Color? progressLabelColor,
- Color? backgroundColor,
- VoidCallback? onAnimationEnd,
- Color? barColor,
- FastPaletteScheme? palette,
Implementation
const FastLinearProgressBarIndicator({
Key? key,
this.animationDuration = const Duration(milliseconds: 300),
this.showProgressLabel = false,
this.showAsPercentage = false,
this.fractionDigits = 2,
this.minBarHeight = 8,
this.maxValue = 100,
this.animate = true,
this.barRadius = 4,
this.minValue = 0,
this.value = 0,
this.progressLabelBuilder,
this.progressLabelColor,
this.backgroundColor,
this.onAnimationEnd,
this.barColor,
this.palette,
}) : super(key: key);