LinearProgress constructor
const
LinearProgress({
- bool isTextInner = true,
- bool isTextFollowed = true,
- double height = 10,
- double? width,
- BorderRadius? borderRadius,
- double padding = 5,
- 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 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,
});