SpinKitWave constructor

const SpinKitWave({
  1. Key? key,
  2. Color? color,
  3. SpinKitWaveType type = SpinKitWaveType.center,
  4. double size = 50.0,
  5. IndexedWidgetBuilder? itemBuilder,
  6. int itemCount = 5,
  7. Duration duration = const Duration(milliseconds: 1200),
  8. AnimationController? controller,
})

Implementation

const SpinKitWave({
  super.key,
  this.color,
  this.type = SpinKitWaveType.center,
  this.size = 50.0,
  this.itemBuilder,
  this.itemCount = 5,
  this.duration = const Duration(milliseconds: 1200),
  this.controller,
}) : assert(itemCount >= 2, 'itemCount Cant be less then 2 ');