Skip to content

Commit

Permalink
Update withValues to withOpacity (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcherry authored Feb 6, 2025
1 parent 2d53037 commit 95c9296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/ui/widgets/track/audio_visualizer_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class _SoundWaveformWidgetState extends State<SoundWaveformWidget>
: samples[i],
width: widget.options.width,
decoration: BoxDecoration(
color: widget.options.color.withValues(alpha: barOpacity),
color: widget.options.color.withOpacity(barOpacity),
borderRadius:
BorderRadius.circular(widget.options.cornerRadius),
),
Expand Down

0 comments on commit 95c9296

Please sign in to comment.