ScaleDotsLoader constructor

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

Implementation

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