LokotroProgressIndicator constructor

const LokotroProgressIndicator({
  1. Key? key,
  2. required double progress,
  3. String? label,
  4. Color? progressColor,
  5. Color? backgroundColor,
  6. double strokeWidth = 8.0,
  7. double size = 120.0,
  8. bool showPercentage = true,
  9. TextStyle? labelStyle,
  10. TextStyle? percentageStyle,
  11. Duration animationDuration = const Duration(milliseconds: 1000),
})

Implementation

const LokotroProgressIndicator({
  super.key,
  required this.progress,
  this.label,
  this.progressColor,
  this.backgroundColor,
  this.strokeWidth = 8.0,
  this.size = 120.0,
  this.showPercentage = true,
  this.labelStyle,
  this.percentageStyle,
  this.animationDuration = const Duration(milliseconds: 1000),
});