CircleDotsLoader constructor

const CircleDotsLoader({
  1. Key? key,
  2. double size = 100,
  3. Color color = Colors.white,
  4. int duration = 1,
})

Implementation

const CircleDotsLoader({
  super.key,
  this.size = 100,
  this.color = Colors.white,
  this.duration = 1,
}) : assert(size > 0 && duration > 0,
          'Size and duration must be greater than 0.');