SpinKitFadingFour constructor

const SpinKitFadingFour(
  1. {Key key,
  2. Color color,
  3. BoxShape shape: BoxShape.circle,
  4. double size: 50.0,
  5. IndexedWidgetBuilder itemBuilder,
  6. Duration duration: const Duration(milliseconds: 1200),
  7. 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'),
      assert(shape != null),
      assert(size != null),
      super(key: key);