SpinKitThreeBounce constructor

const SpinKitThreeBounce({
  1. Key? key,
  2. Color? color,
  3. double size = 50.0,
  4. IndexedWidgetBuilder? itemBuilder,
  5. Duration duration = const Duration(milliseconds: 1400),
  6. AnimationController? controller,
})

Implementation

const SpinKitThreeBounce({
  super.key,
  this.color,
  this.size = 50.0,
  this.itemBuilder,
  this.duration = const Duration(milliseconds: 1400),
  this.controller,
}) : assert(
          !(itemBuilder is IndexedWidgetBuilder && color is Color) &&
              !(itemBuilder == null && color == null),
          'You should specify either a itemBuilder or a color');