Progress constructor
Progress({
- Key? key,
- String type = "line",
- bool inactive = false,
- double percentage = 0,
- double strokeWidth = Style.progressHeight,
- bool showPivot = false,
- Color color = Style.progressColor,
- Color textColor = Style.progressPivotTextColor,
- Color trackColor = Style.progressBackgroundColor,
- String? pivotText,
- Color? pivotColor,
- double circularSize = Style.circleSize,
Implementation
Progress({
Key? key,
this.type: "line",
this.inactive: false,
this.percentage: 0,
this.strokeWidth: Style.progressHeight,
this.showPivot: false,
this.color: Style.progressColor,
this.textColor: Style.progressPivotTextColor,
this.trackColor: Style.progressBackgroundColor,
this.pivotText,
this.pivotColor,
this.circularSize: Style.circleSize,
}) : super(key: key);