Progress constructor

Progress({
  1. Key? key,
  2. String type = "line",
  3. bool inactive = false,
  4. double percentage = 0,
  5. double strokeWidth = Style.progressHeight,
  6. bool showPivot = false,
  7. Color color = Style.progressColor,
  8. Color textColor = Style.progressPivotTextColor,
  9. Color trackColor = Style.progressBackgroundColor,
  10. String? pivotText,
  11. Color? pivotColor,
  12. 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);