SlidingDotsLoader constructor

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

Implementation

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