ButtonProgress constructor
const
ButtonProgress({
- 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 ButtonProgress({
this.progress = 0.0,
this.progressReserve = 1,
this.progressType = ProgressType.indeterminate,
this.foreground = Colors.orange,
this.background = Colors.blueAccent,
this.isProgressOpacityAnim = true,
this.textStyle = const TextStyle(fontSize: 12, color: Colors.white),
this.prefix,
this.prefixStyle,
this.suffix,
this.suffixStyle,
this.borderSide,
this.foregroundGradient,
this.backgroundGradient,
this.shadows
});