return await showCupertinoModalPopup(
context: context,
builder: (BuildContext context) => CupertinoActionSheet(
title: Text('title'),
actions: <Widget>[
CupertinoActionSheetAction(
child: Text('camera'),
onPressed: () {
},
),
CupertinoActionSheetAction(
child: Text('image'),
onPressed: () {
},
),
],
cancelButton: CupertinoActionSheetAction(
child: Text('cancel'),
isDefaultAction: true,
onPressed: () {
Navigator.pop(context);
},
)),
);
Steps to reproduce
Expected results
Native ios apps support this type of navigation. Typically users tap on an arrow key and then press enter to choose the needed action.
Actual results
Nothing happens
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]Flutter Doctor output
Doctor output
[Paste your output here]