I tried a lot to do an audio dynamic waves and after found the solution (from my mind view) in this code, the LinearGradient show error lines why ....?
AudioWaveforms(
size: Size(double.infinity, 100),
recorderController: recorderController,
waveStyle: WaveStyle(
gradient: LinearGradient(
colors: [Colors.blue, Colors.blueAccent],
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
),
spacing: 15.0,
scaleFactor: 0.7,
showDurationLabel: true,
durationStyle: TextStyle(
fontSize: 12,
),
showBottom: true,
),
),