DotsLoader constructor

const DotsLoader({
  1. Key? key,
  2. required double size,
  3. Color? color,
  4. required Duration duration,
  5. Gradient? gradient,
  6. bool loop = true,
  7. int dotCount = 3,
  8. double dotSizeRatio = 0.2,
  9. double spacingRatio = 0.05,
  10. bool scaleAnimation = true,
})

Implementation

const DotsLoader({
  super.key,
  required super.size,
  super.color,
  required super.duration,
  super.gradient,
  super.loop,
  this.dotCount = 3,
  this.dotSizeRatio = 0.2,
  this.spacingRatio = 0.05,
  this.scaleAnimation = true,
});