We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2ec38f6
showAdaptiveActionSheet( context: context, title: const Text('Title'), actions: <BottomSheetAction>[ BottomSheetAction(title: const Text('Item 1'), onPressed: (context) {}), BottomSheetAction(title: const Text('Item 2'), onPressed: (context) {}), BottomSheetAction(title: const Text('Item 3'), onPressed: (context) {}), ], cancelAction: CancelAction(title: const Text('Cancel')),// onPressed parameter is optional by default will dismiss the ActionSheet );