FastLinearProgressBarIndicator constructor

const FastLinearProgressBarIndicator({
  1. Key? key,
  2. Duration animationDuration = const Duration(milliseconds: 300),
  3. bool showProgressLabel = false,
  4. bool showAsPercentage = false,
  5. int fractionDigits = 2,
  6. double minBarHeight = 8,
  7. double maxValue = 100,
  8. bool animate = true,
  9. double barRadius = 4,
  10. double minValue = 0,
  11. double value = 0,
  12. StringCallback<double>? progressLabelBuilder,
  13. Color? progressLabelColor,
  14. Color? backgroundColor,
  15. VoidCallback? onAnimationEnd,
  16. Color? barColor,
  17. 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);