GradientCircularProgressIndicator constructor

GradientCircularProgressIndicator({double strokeWidth: 10.0, bool strokeRound: false, @required double radius, @required List<Color> gradientColors, List<double> gradientStops, Color backgroundColor: Colors.transparent, double value })

Constructor require progress radius & gradient color range gradientColors , option includes: circle width strokeWidth, round support strokeRound , progress background backgroundColor.

set progress with value, 0.0 to 1.0.

Implementation

GradientCircularProgressIndicator({
  this.strokeWidth = 10.0,
  this.strokeRound = false,
  @required this.radius,
  @required this.gradientColors,
  this.gradientStops,
  this.backgroundColor = Colors.transparent,
  this.value,
});