WaveformPainter constructor

WaveformPainter(
  1. List<double> waveformData,
  2. double progress, {
  3. Color playedColor = Colors.blue,
  4. Color unplayedColor = Colors.grey,
  5. double barWidth = 2,
})

Implementation

WaveformPainter(this.waveformData, this.progress,
    {this.playedColor = Colors.blue, this.unplayedColor = Colors.grey,this.barWidth = 2});