PlayerWaveStyle constructor

const PlayerWaveStyle({
  1. Color fixedWaveColor = Colors.white,
  2. Color liveWaveColor = Colors.deepOrange,
  3. bool showTop = true,
  4. bool showBottom = true,
  5. StrokeCap waveCap = StrokeCap.round,
  6. Color seekLineColor = Colors.orange,
  7. double seekLineThickness = 3.0,
  8. double waveThickness = 3.0,
  9. Color backgroundColor = Colors.black,
  10. Shader? fixedWavegradient,
  11. double scaleFactor = 1.0,
  12. Shader? liveWaveGradient,
  13. double visualizerHeight = 28.0,
})

Implementation

const PlayerWaveStyle({
  this.fixedWaveColor = Colors.white,
  this.liveWaveColor = Colors.deepOrange,
  this.showTop = true,
  this.showBottom = true,
  this.waveCap = StrokeCap.round,
  this.seekLineColor = Colors.orange,
  this.seekLineThickness = 3.0,
  this.waveThickness = 3.0,
  this.backgroundColor = Colors.black,
  this.fixedWavegradient,
  this.scaleFactor = 1.0,
  this.liveWaveGradient,
  this.visualizerHeight = 28.0,
});