QuickDotLoader constructor

const QuickDotLoader({
  1. Key? key,
  2. Color? color = Colors.red,
  3. double size = 27.0,
  4. IndexedWidgetBuilder? itemBuilder,
  5. Duration duration = const Duration(milliseconds: 1100),
  6. AnimationController? controller,
  7. int? showDots = 3,
})

Implementation

const QuickDotLoader({
  super.key,
  this.color = Colors.red, // ✅ default color set from Colors
  this.size = 27.0,
  this.itemBuilder,
  this.duration = const Duration(milliseconds: 1100),
  this.controller,
  this.showDots = 3,
});