From 43ff828b0df91c214ed37992bf7aa895083d2a6c Mon Sep 17 00:00:00 2001 From: "sanfan.hx" Date: Tue, 17 Sep 2019 17:43:27 +0800 Subject: [PATCH] =?UTF-8?q?fixed:=20=E5=9B=9E=E5=88=B0=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/components/widget_demo.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/widget_demo.dart b/lib/components/widget_demo.dart index 6bc9839f..1e2d5744 100644 --- a/lib/components/widget_demo.dart +++ b/lib/components/widget_demo.dart @@ -185,7 +185,7 @@ class _WidgetDemoState extends State { new IconButton( tooltip: 'goBack home', onPressed: () { - Navigator.popUntil(context, ModalRoute.withName(Routes.home)); + Navigator.popUntil(context, ModalRoute.withName(Routes.root)); }, icon: Icon(Icons.home), ),