File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,19 +32,19 @@ import 'theme.dart';
32
32
import 'topic_list.dart' ;
33
33
34
34
void _showActionSheet (
35
- BuildContext context , {
35
+ BuildContext pageContext , {
36
36
required List <Widget > optionButtons,
37
37
}) {
38
38
showModalBottomSheet <void >(
39
- context: context ,
39
+ context: pageContext ,
40
40
// Clip.hardEdge looks bad; Clip.antiAliasWithSaveLayer looks pixel-perfect
41
41
// on my iPhone 13 Pro but is marked as "much slower":
42
42
// https://api.flutter.dev/flutter/dart-ui/Clip.html
43
43
clipBehavior: Clip .antiAlias,
44
44
useSafeArea: true ,
45
45
isScrollControlled: true ,
46
46
builder: (BuildContext _) {
47
- final designVariables = DesignVariables .of (context );
47
+ final designVariables = DesignVariables .of (pageContext );
48
48
return Semantics (
49
49
role: SemanticsRole .menu,
50
50
child: SafeArea (
You can’t perform that action at this time.
0 commit comments