FadeScaleLoader constructor

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

Implementation

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