UProgressLinear constructor

const UProgressLinear({
  1. Key? key,
  2. int? value,
  3. double height = 8,
  4. double? width,
  5. BorderRadius? borderRadius,
  6. Color? backgroundColor,
  7. Color? progressColor,
  8. Gradient? gradient,
  9. Duration duration = const Duration(milliseconds: 400),
  10. Curve curve = Curves.easeOutCubic,
  11. Duration indeterminateDuration = const Duration(milliseconds: 1200),
  12. double indeterminateSegmentFraction = 0.4,
  13. UProgressLabelBuilder? labelBuilder,
  14. Axis axis = Axis.horizontal,
  15. 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,
});