SpinKitFadingFour constructor
const
SpinKitFadingFour({
- Key? key,
- Color? color,
- BoxShape shape = BoxShape.circle,
- double size = 50.0,
- IndexedWidgetBuilder? itemBuilder,
- Duration duration = const Duration(milliseconds: 1200),
- AnimationController? controller,
Implementation
const SpinKitFadingFour({
Key? key,
this.color,
this.shape = BoxShape.circle,
this.size = 50.0,
this.itemBuilder,
this.duration = const Duration(milliseconds: 1200),
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);