WaveWidget constructor

WaveWidget({
  1. required Config config,
  2. required Size size,
  3. double waveAmplitude = 20.0,
  4. double wavePhase = 10.0,
  5. double waveFrequency = 1.6,
  6. double heightPercentage = 0.2,
  7. int? duration = 6000,
  8. Color? backgroundColor,
  9. DecorationImage? backgroundImage,
  10. bool isLoop = true,
})

Implementation

WaveWidget({
  required this.config,
  required this.size,
  this.waveAmplitude = 20.0,
  this.wavePhase = 10.0,
  this.waveFrequency = 1.6,
  this.heightPercentage = 0.2,
  this.duration = 6000,
  this.backgroundColor,
  this.backgroundImage,
  this.isLoop = true,
});