PlayerWaveStyle constructor
const
PlayerWaveStyle({
- Color fixedWaveColor = Colors.white,
- Color liveWaveColor = Colors.deepOrange,
- bool showTop = true,
- bool showBottom = true,
- StrokeCap waveCap = StrokeCap.round,
- Color seekLineColor = Colors.orange,
- double seekLineThickness = 3.0,
- double waveThickness = 3.0,
- Color backgroundColor = Colors.black,
- Shader? fixedWavegradient,
- double scaleFactor = 1.0,
- Shader? liveWaveGradient,
- 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,
});