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