felangel / felangel/flow_builder

Android physic back button doesn't close showModalBottomSheet when is open

オープン
#39 コメント 9 件 リアクション 2 件 担当者 1 名 @jonathankao97 が担当を希望しています GitHub で見る
question
主要言語
Dart
スター
416
フォーク
68
PR マージ指標
30日以内にマージされた PR はありません

説明

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)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。