TProgressBar constructor
const
TProgressBar({
- Key? key,
- double value = 0.0,
- bool indeterminate = false,
- bool flowing = false,
- double height = 8.0,
- Color? color,
- Color? colorBuilder()?,
- Color? backgroundColor,
- String? label,
- bool showPercentage = false,
- String? valueText,
- TProgressValuePosition valuePosition = TProgressValuePosition.topRight,
- bool? inline,
- double borderRadius = 10.0,
- Duration animationDuration = const Duration(milliseconds: 300),
- TextStyle? valueStyle,
Creates a progress bar.
Implementation
const TProgressBar({
super.key,
this.value = 0.0,
this.indeterminate = false,
this.flowing = false,
this.height = 8.0,
this.color,
this.colorBuilder,
this.backgroundColor,
this.label,
this.showPercentage = false,
this.valueText,
this.valuePosition = TProgressValuePosition.topRight,
this.inline,
this.borderRadius = 10.0,
this.animationDuration = const Duration(milliseconds: 300),
this.valueStyle,
});