WidgetDotFade constructor
const
WidgetDotFade({
- Key? key,
- Color? color,
- double size = 18.0,
- int count = 3,
- IndexedWidgetBuilder? itemBuilder,
- Duration duration = const Duration(milliseconds: 500),
- AnimationController? controller,
Implementation
const WidgetDotFade({
Key? key,
this.color,
this.size = 18.0,
this.count = 3,
this.itemBuilder,
this.duration = const Duration(milliseconds: 500),
this.controller,
}) : assert(!(itemBuilder is IndexedWidgetBuilder && color is Color) && !(itemBuilder == null && color == null),
'You should specify either a itemBuilder or a color'),
super(key: key);