Skip to content

Commit 95c9296

Browse files
authored
Update withValues to withOpacity (#15)
1 parent 2d53037 commit 95c9296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/ui/widgets/track/audio_visualizer_widget.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ class _SoundWaveformWidgetState extends State<SoundWaveformWidget>
160160
: samples[i],
161161
width: widget.options.width,
162162
decoration: BoxDecoration(
163-
color: widget.options.color.withValues(alpha: barOpacity),
163+
color: widget.options.color.withOpacity(barOpacity),
164164
borderRadius:
165165
BorderRadius.circular(widget.options.cornerRadius),
166166
),

0 commit comments

Comments
 (0)