CupertinoActivityIndicator.partiallyRevealed constructor
Creates a non-animated iOS-style activity indicator that displays
a partial count of ticks based on the value of progress
.
When provided, the value of progress
must be between 0.0 (zero ticks
will be shown) and 1.0 (all ticks will be shown) inclusive. Defaults
to 1.0.
Implementation
const CupertinoActivityIndicator.partiallyRevealed({
super.key,
this.color,
this.radius = _kDefaultIndicatorRadius,
this.progress = 1.0,
}) : assert(radius > 0.0),
assert(progress >= 0.0),
assert(progress <= 1.0),
animating = false;