CupertinoActivityIndicator constructor

const CupertinoActivityIndicator({
  1. Key? key,
  2. Color? color,
  3. bool animating = true,
  4. double radius = _kDefaultIndicatorRadius,
})

Creates an iOS-style activity indicator that spins clockwise.

Implementation

const CupertinoActivityIndicator({
  super.key,
  this.color,
  this.animating = true,
  this.radius = _kDefaultIndicatorRadius,
})  : assert(radius > 0.0),
      progress = 1.0;