RectangleProgress constructor
const
RectangleProgress({
- double? width,
- double? height,
- Color? progressBackground,
- Gradient? progressBackgroundGradient,
- double size = 5,
- BorderRadius? borderRadius,
- bool reverse = false,
- StrokeCap strokeCap = StrokeCap.round,
- String? indeterminateText,
- double? indicatorRatio,
- double progress = 0.0,
- int progressReserve = 1,
- ProgressType progressType = ProgressType.indeterminate,
- Color foreground = Colors.orange,
- Color background = Colors.blueAccent,
- bool isProgressOpacityAnim = true,
- TextStyle textStyle = const TextStyle(fontSize: 12, color: Colors.white),
- String? prefix,
- TextStyle? prefixStyle,
- String? suffix,
- TextStyle? suffixStyle,
- BorderSide? borderSide,
- Gradient? foregroundGradient,
- Gradient? backgroundGradient,
- List<
BoxShadow> ? shadows,
Implementation
const RectangleProgress({
this.width,
this.height,
this.progressBackground,
this.progressBackgroundGradient,
this.size = 5,
this.borderRadius,
this.reverse = false,
this.strokeCap = StrokeCap.round,
this.indeterminateText,
this.indicatorRatio,
super.progress,
super.progressReserve,
super.progressType,
super.foreground,
super.background,
super.isProgressOpacityAnim,
super.textStyle,
super.prefix,
super.prefixStyle,
super.suffix,
super.suffixStyle,
super.borderSide,
super.foregroundGradient,
super.backgroundGradient,
super.shadows,
});