CustomLinearPercentIndicator constructor

CustomLinearPercentIndicator({
  1. required double percent,
  2. double width = 50,
  3. double lineHeight = 8,
  4. Color? backgroundColor = Colors.blue,
  5. Color? progressColor = Colors.red,
  6. Duration animationDuration = const Duration(seconds: 2),
})

Implementation

CustomLinearPercentIndicator({
  required this.percent,
  this.width = 50,
  this.lineHeight = 8,
  this.backgroundColor = Colors.blue,
  this.progressColor = Colors.red,
  this.animationDuration = const Duration(seconds: 2),
});