WaveSticksLoader constructor

const WaveSticksLoader({
  1. Key? key,
  2. WaveStickAnimationController? controller,
  3. Duration duration = const Duration(milliseconds: 1500),
  4. Size size = const Size(100, 50),
  5. int numberOfSticks = 5,
  6. double stickWidth = 5.0,
  7. double stickHeight = 20.0,
  8. double middleWaveStickHeight = 30.0,
  9. Color stickColor = Colors.blue,
  10. double stickSpacing = 5.0,
  11. CrossAxisAlignment alignment = CrossAxisAlignment.center,
  12. double waveWidth = 1.5,
  13. double radius = 2.5,
})

Implementation

const WaveSticksLoader({
  super.key,
  this.controller,
  this.duration = const Duration(milliseconds: 1500),
  this.size = const Size(100, 50),
  this.numberOfSticks = 5,
  this.stickWidth = 5.0,
  this.stickHeight = 20.0,
  this.middleWaveStickHeight = 30.0,
  this.stickColor = Colors.blue,
  this.stickSpacing = 5.0,
  this.alignment = CrossAxisAlignment.center,
  this.waveWidth = 1.5,
  this.radius = 2.5,
});