GradientCircularProgressIndicator constructor
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,
});