UProgressLinear constructor
const
UProgressLinear({
- Key? key,
- int? value,
- double height = 8,
- double? width,
- BorderRadius? borderRadius,
- Color? backgroundColor,
- Color? progressColor,
- Gradient? gradient,
- Duration duration = const Duration(milliseconds: 400),
- Curve curve = Curves.easeOutCubic,
- Duration indeterminateDuration = const Duration(milliseconds: 1200),
- double indeterminateSegmentFraction = 0.4,
- UProgressLabelBuilder? labelBuilder,
- Axis axis = Axis.horizontal,
- bool reverse = false,
Implementation
const UProgressLinear({
super.key,
this.value,
this.height = 8,
this.width,
this.borderRadius,
this.backgroundColor,
this.progressColor,
this.gradient,
this.duration = const Duration(milliseconds: 400),
this.curve = Curves.easeOutCubic,
this.indeterminateDuration = const Duration(milliseconds: 1200),
this.indeterminateSegmentFraction = 0.4,
this.labelBuilder,
this.axis = Axis.horizontal,
this.reverse = false,
});