ArcProgressLine constructor
const
ArcProgressLine({
- required double length,
- required double progress,
- ArcProgressDirection direction = ArcProgressDirection.clockwise,
- ArcProgressLineStyle? style,
Implementation
const ArcProgressLine({
//TODO: Should be a value between 0 to 1
required this.length,
required this.progress,
this.direction = ArcProgressDirection.clockwise,
ArcProgressLineStyle? style,
}) : assert(progress >= 0 && progress <= 1),
style = style ?? const ArcProgressLineStyle();