LinearProgress constructor

const LinearProgress({
  1. bool isTextInner = true,
  2. bool isTextFollowed = true,
  3. double height = 10,
  4. double? width,
  5. BorderRadius? borderRadius,
  6. double padding = 5,
  7. double? indicatorRatio,
  8. double progress = 0.0,
  9. int progressReserve = 1,
  10. ProgressType progressType = ProgressType.indeterminate,
  11. Color foreground = Colors.orange,
  12. Color background = Colors.blueAccent,
  13. bool isProgressOpacityAnim = true,
  14. TextStyle textStyle = const TextStyle(fontSize: 12, color: Colors.white),
  15. String? prefix,
  16. TextStyle? prefixStyle,
  17. String? suffix,
  18. TextStyle? suffixStyle,
  19. BorderSide? borderSide,
  20. Gradient? foregroundGradient,
  21. Gradient? backgroundGradient,
  22. List<BoxShadow>? shadows,
})

Implementation

const LinearProgress({
  this.isTextInner = true,
  this.isTextFollowed = true,
  this.height = 10,
  this.width,
  this.borderRadius,
  this.padding = 5,
  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,
});