CircularAnimatedWidget constructor

const CircularAnimatedWidget({
  1. Key? key,
  2. required Duration duration,
  3. Curve curve = Curves.linear,
  4. bool reverse = true,
  5. double? target,
})

Implementation

const CircularAnimatedWidget({
  super.key,
  required this.duration,
  this.curve = Curves.linear,
  this.reverse = true,
  this.target,
}) : assert(target == null || (target >= 0.0 && target <= 1.0));