FlutstrapProgress.indeterminate constructor

const FlutstrapProgress.indeterminate({
  1. Key? key,
  2. FSProgressVariant variant = FSProgressVariant.primary,
  3. FSProgressSize size = FSProgressSize.md,
  4. bool animated = true,
  5. bool striped = true,
  6. String? label,
  7. Widget? customLabel,
  8. Color? backgroundColor,
  9. Color? progressColor,
  10. double? height,
  11. double? fixedWidth,
  12. bool expandToFill = true,
  13. BorderRadiusGeometry? borderRadius,
  14. Duration animationDuration = const Duration(milliseconds: 1500),
  15. Curve animationCurve = Curves.easeInOut,
  16. bool validator(
    1. double value,
    2. double minValue,
    3. double maxValue
    )?,
})

Creates an indeterminate progress bar

Implementation

const FlutstrapProgress.indeterminate({
  super.key,
  this.variant = FSProgressVariant.primary,
  this.size = FSProgressSize.md,
  this.animated = true,
  this.striped = true,
  this.label,
  this.customLabel,
  this.backgroundColor,
  this.progressColor,
  this.height,
  this.fixedWidth,
  this.expandToFill = true,
  this.borderRadius,
  this.animationDuration = const Duration(milliseconds: 1500),
  this.animationCurve = Curves.easeInOut,
  this.validator,
})  : value = 0,
      minValue = 0,
      maxValue = 100;