LinearProgress constructor

const LinearProgress({
  1. Key? key,
  2. double? value,
  3. double height = 8,
  4. Color? color,
  5. Color? backgroundColor,
  6. Gradient? gradient,
  7. bool showLabel = false,
  8. String? label,
  9. bool rounded = true,
  10. bool striped = false,
  11. bool animate = true,
  12. Duration duration = const Duration(milliseconds: 700),
})

Implementation

const LinearProgress({
  super.key,
  this.value,
  this.height = 8,
  this.color,
  this.backgroundColor,
  this.gradient,
  this.showLabel = false,
  this.label,
  this.rounded = true,
  this.striped = false,
  this.animate = true,
  this.duration = const Duration(milliseconds: 700),
});