GradientCircularProgressIndicator constructor

const GradientCircularProgressIndicator({
  1. Key? key,
  2. required double value,
  3. double strokeWidth = 10,
  4. required Gradient gradient,
  5. Color backgroundColor = Colors.grey,
  6. double size = 100,
  7. double startAngle = -pi / 2,
  8. StrokeCap strokeCap = StrokeCap.round,
})

Implementation

const GradientCircularProgressIndicator({
  Key? key,
  required this.value,
  this.strokeWidth = 10,
  required this.gradient,
  this.backgroundColor = Colors.grey,
  this.size = 100,
  this.startAngle = -pi / 2, // default to top
  this.strokeCap = StrokeCap.round,
}) : super(key: key);