mirror of
https://github.com/foss42/apidash.git
synced 2025-05-25 02:06:44 +08:00
withOpacity() -> withValues()
This commit is contained in:
@ -65,8 +65,8 @@ class _VideoPreviewerState extends State<VideoPreviewer> {
|
||||
final iconColor = Theme.of(context).iconTheme.color;
|
||||
final progressBarColors = VideoProgressColors(
|
||||
playedColor: iconColor!,
|
||||
bufferedColor: iconColor.withOpacity(0.5),
|
||||
backgroundColor: iconColor.withOpacity(0.3),
|
||||
bufferedColor: iconColor.withValues(alpha: 0.5),
|
||||
backgroundColor: iconColor.withValues(alpha: 0.3),
|
||||
);
|
||||
return Scaffold(
|
||||
body: MouseRegion(
|
||||
|
Reference in New Issue
Block a user