ButtonProgress constructor

const ButtonProgress({
  1. double progress = 0.0,
  2. int progressReserve = 1,
  3. ProgressType progressType = ProgressType.indeterminate,
  4. Color foreground = Colors.orange,
  5. Color background = Colors.blueAccent,
  6. bool isProgressOpacityAnim = true,
  7. TextStyle textStyle = const TextStyle(fontSize: 12, color: Colors.white),
  8. String? prefix,
  9. TextStyle? prefixStyle,
  10. String? suffix,
  11. TextStyle? suffixStyle,
  12. BorderSide? borderSide,
  13. Gradient? foregroundGradient,
  14. Gradient? backgroundGradient,
  15. 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
});