SunLoader constructor

const SunLoader({
  1. Key? key,
  2. double size = 150,
  3. Color color = Colors.red,
  4. double radius = 25,
  5. double speed = 1,
  6. double numPoints = 16,
  7. double duration = 1000,
})

Implementation

const SunLoader(
    {super.key,
    this.size = 150,
    this.color = Colors.red,
    this.radius = 25,
    this.speed = 1,
    this.numPoints = 16,
    this.duration = 1000})
    : assert(radius > 0 &&
          size > 0 &&
          duration > 0 &&
          numPoints > 0 &&
          speed > 0);