mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 13:51:20 +08:00
withOpacity() -> withValues()
This commit is contained in:
@ -16,7 +16,7 @@ class OverlayWidgetTemplate {
|
||||
_overlay = OverlayEntry(
|
||||
// replace with your own layout
|
||||
builder: (context) => ColoredBox(
|
||||
color: kColorBlack.withOpacity(kOverlayBackgroundOpacity),
|
||||
color: kColorBlack.withValues(alpha: kOverlayBackgroundOpacity),
|
||||
child: widget),
|
||||
);
|
||||
_overlayState!.insert(_overlay!);
|
||||
|
Reference in New Issue
Block a user