felangel / felangel/flow_builder
Android physic back button doesn't close showModalBottomSheet when is open
Offen
#39
9 Kommentare
2 Reaktionen
1 zugewiesene Person
Beansprucht von @jonathankao97
Auf GitHub ansehen
question
- Vorherrschende Sprache
- Dart
- Sterne
- 416
- Forks
- 68
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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)
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.