FlutstrapProgress.indeterminate constructor
const
FlutstrapProgress.indeterminate({
- Key? key,
- FSProgressVariant variant = FSProgressVariant.primary,
- FSProgressSize size = FSProgressSize.md,
- bool animated = true,
- bool striped = true,
- String? label,
- Widget? customLabel,
- Color? backgroundColor,
- Color? progressColor,
- double? height,
- double? fixedWidth,
- bool expandToFill = true,
- BorderRadiusGeometry? borderRadius,
- Duration animationDuration = const Duration(milliseconds: 1500),
- Curve animationCurve = Curves.easeInOut,
- bool validator()?,
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;