Erweiterungen
This commit is contained in:
1 parent
dbe821b08d
commit
ebe61c1674
7 files changed
+299
-303
No files matched your search
+7
-1
@@ -134,7 +134,13 @@ class _MainState extends State<Main> {
|
||||
key: GlobalKey(),
|
||||
child: WillPopScope(
|
||||
onWillPop: () async {
|
||||
return false;
|
||||
if (contentStack.isNotEmpty) {
|
||||
_popContentView();
|
||||
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
},
|
||||
child: Scaffold(
|
||||
appBar: PreferredSize(
|
||||
|
||||
Reference in new issue
Block a user