SpiralLoader constructor

const SpiralLoader({
  1. Key? key,
  2. double size = 150,
  3. Color color = Colors.red,
  4. double radius = 25,
  5. double duration = 1000,
  6. double spiralLength = 360,
})

Implementation

const SpiralLoader({
  super.key,
  this.size = 150,
  this.color = Colors.red,
  this.radius = 25,
  this.duration = 1000,
  this.spiralLength = 360,
}) : assert(radius >= 0 && size >= 0 && duration >= 0 && spiralLength >= 0);