felangel / felangel/flow_builder
Android physic back button doesn't close showModalBottomSheet when is open
Abierto
question
- Lenguaje dominante
- Dart
- Estrellas
- 416
- Forks
- 68
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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)
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.