File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
packages/apidash_design_system/lib/tokens Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class OverlayWidgetTemplate {
16
16
_overlay = OverlayEntry (
17
17
// replace with your own layout
18
18
builder: (context) => ColoredBox (
19
- color: kColorBlack.withOpacity ( kOverlayBackgroundOpacity),
19
+ color: kColorBlack.withValues (alpha : kOverlayBackgroundOpacity),
20
20
child: widget),
21
21
);
22
22
_overlayState! .insert (_overlay! );
Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ class _VideoPreviewerState extends State<VideoPreviewer> {
65
65
final iconColor = Theme .of (context).iconTheme.color;
66
66
final progressBarColors = VideoProgressColors (
67
67
playedColor: iconColor! ,
68
- bufferedColor: iconColor.withOpacity ( 0.5 ),
69
- backgroundColor: iconColor.withOpacity ( 0.3 ),
68
+ bufferedColor: iconColor.withValues (alpha : 0.5 ),
69
+ backgroundColor: iconColor.withValues (alpha : 0.3 ),
70
70
);
71
71
return Scaffold (
72
72
body: MouseRegion (
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const kColorTransparent = Colors.transparent;
6
6
const kColorWhite = Colors .white;
7
7
const kColorBlack = Colors .black;
8
8
const kColorRed = Colors .red;
9
- final kColorLightDanger = Colors .red.withOpacity ( 0.9 );
9
+ final kColorLightDanger = Colors .red.withValues (alpha : 0.9 );
10
10
const kColorDarkDanger = Color (0xffcf6679 );
11
11
12
12
const kColorSchemeSeed = Colors .blue;
You can’t perform that action at this time.
0 commit comments