EProgress constructor

const EProgress({
  1. Key? key,
  2. int progress = 0,
  3. ProgressType type = ProgressType.line,
  4. double strokeWidth = 6.0,
  5. bool textInside = false,
  6. List<Color>? colors,
  7. Color? backgroundColor,
  8. EleThemeStatus? status,
  9. bool showText = true,
  10. StrokeCap strokeCap = StrokeCap.round,
  11. Axis direction = Axis.horizontal,
  12. Color? borderColor,
  13. double borderWidth = 3.0,
  14. double radius = 0,
  15. String? format(
    1. int percentage
    )?,
  16. TextStyle? textStyle,
})

Implementation

const EProgress({
  Key? key,
  this.progress = 0,
  this.type = ProgressType.line,
  this.strokeWidth = 6.0,
  this.textInside = false,
  this.colors,
  this.backgroundColor,
  this.status,
  this.showText = true,
  this.strokeCap = StrokeCap.round,
  this.direction = Axis.horizontal,
  this.borderColor,
  this.borderWidth = 3.0,
  this.radius = 0,
  this.format,
  this.textStyle,
}) : super(key: key);