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.
1 parent acd547f commit ad553aaCopy full SHA for ad553aa
lib/action_sheet.dart
@@ -26,6 +26,7 @@ class ActionSheet {
26
text: data.elementAt(i),
27
onPressed: () {
28
if (onPress != null) onPress(ActionSheetPressDetails(index: i, text: data.elementAt(i)));
29
+ Navigator.of(context).pop();
30
},
31
));
32
if (i != 0) widgets.insert(0, Divider(height: 1 / MediaQuery.of(context).devicePixelRatio));
0 commit comments