WidgetDotGrow constructor
const
WidgetDotGrow({
- Key? key,
- Color? color,
- double size = 18.0,
- int count = 3,
- IndexedWidgetBuilder? itemBuilder,
- Duration duration = const Duration(milliseconds: 300),
- AnimationController? controller,
Implementation
const WidgetDotGrow({
Key? key,
this.color,
this.size = 18.0, this.count = 3,
this.itemBuilder,
this.duration = const Duration(milliseconds: 300),
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);