WaveBackground constructor

const WaveBackground({
  1. Key? key,
  2. int waveCount = 3,
  3. List<Color> colors = const [Colors.blueAccent, Colors.tealAccent, Colors.cyanAccent],
  4. Color? backgroundColor,
  5. double speed = 1.0,
  6. double amplitude = 25.0,
  7. double frequency = 0.005,
  8. Widget? child,
  9. bool isPaused = false,
})

Implementation

const WaveBackground({
  super.key,
  this.waveCount = 3,
  this.colors = const [Colors.blueAccent, Colors.tealAccent, Colors.cyanAccent],
  this.backgroundColor,
  this.speed = 1.0,
  this.amplitude = 25.0,
  this.frequency = 0.005,
  this.child,
  this.isPaused = false,
});