felangel / felangel/flow_builder
Android physic back button doesn't close showModalBottomSheet when is open
Open
question
- Dominant language
- Dart
- Stars
- 416
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
When i use showModalBottomSheet and pressed back button on Android, it pops the Flow pages instead of close ModalBottomSheet.
Navigator.pop(context ""bottomsheet context"") close the bottomsheet
I tried to put a WillPopScope in the BottomSheet children and call Navigator.pop but it doesn't catch the event
Do you have any idea ?
My use case:
MaterialApp > FlowBuilder > [FlowBuilder > BottomSheet] <== is poped (and not BottomSheet itself)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.