We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
designVariables
1 parent fb0d8ae commit a716333Copy full SHA for a716333
lib/widgets/action_sheet.dart
@@ -44,6 +44,7 @@ void _showActionSheet(
44
useSafeArea: true,
45
isScrollControlled: true,
46
builder: (BuildContext _) {
47
+ final designVariables = DesignVariables.of(context);
48
return Semantics(
49
role: SemanticsRole.menu,
50
child: SafeArea(
@@ -57,7 +58,7 @@ void _showActionSheet(
57
58
// TODO(#217): show message text
59
Flexible(child: InsetShadowBox(
60
top: 8, bottom: 8,
- color: DesignVariables.of(context).bgContextMenu,
61
+ color: designVariables.bgContextMenu,
62
child: SingleChildScrollView(
63
padding: const EdgeInsets.only(top: 16, bottom: 8),
64
child: ClipRRect(
0 commit comments