Progress<T> constructor

Progress<T>({
  1. required List<T> data,
  2. required ChartPosition<T> position,
  3. bool endPoint = false,
  4. List<Color> colors = colors10,
  5. double startAngle = math.pi,
  6. double strokeWidth = 1,
  7. StrokeCap? strokeCap,
})

Implementation

Progress({
  required super.data,
  required this.position,
  this.endPoint = false,
  this.colors = colors10,
  this.startAngle = math.pi,
  this.strokeWidth = 1,
  this.strokeCap,
});