LinearPercentIndicator constructor

const LinearPercentIndicator({
  1. Key? key,
  2. required double percent,
  3. double lineHeight = 8.0,
  4. Radius? barRadius,
  5. bool animation = false,
  6. int animationDuration = 500,
  7. Color? backgroundColor,
  8. Color? progressColor,
  9. EdgeInsetsGeometry padding = EdgeInsets.zero,
})

Implementation

const LinearPercentIndicator({
  super.key,
  required this.percent,
  this.lineHeight = 8.0,
  this.barRadius,
  this.animation = false,
  this.animationDuration = 500,
  this.backgroundColor,
  this.progressColor,
  this.padding = EdgeInsets.zero,
});