CupertinoActivityIndicator constructor Null safety

const CupertinoActivityIndicator(
  1. {Key? key,
  2. bool animating,
  3. double radius}
)

Creates an iOS-style activity indicator that spins clockwise.

Implementation

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