RotatingLoader constructor

const RotatingLoader({
  1. Key? key,
  2. Color color = Colors.white,
  3. double radius = 7,
  4. double size = 50,
  5. int duration = 1,
})

Implementation

const RotatingLoader(
    {super.key,
    this.color = Colors.white,
    this.radius = 7,
    this.size = 50,
    this.duration = 1})
    : assert(size > 0 && radius > 0 && radius < (size / 6) && duration > 0);