Showing
1 changed file
with
2 additions
and
2 deletions
@@ -706,7 +706,7 @@ See how simple it is: | @@ -706,7 +706,7 @@ See how simple it is: | ||
706 | initialRoute: '/', | 706 | initialRoute: '/', |
707 | onGenerateRoute: (settings) { | 707 | onGenerateRoute: (settings) { |
708 | if (settings.name == '/') { | 708 | if (settings.name == '/') { |
709 | - return GetRoute( | 709 | + return GetRouteBase( |
710 | page: Scaffold( | 710 | page: Scaffold( |
711 | appBar: AppBar( | 711 | appBar: AppBar( |
712 | title: Text("Main"), | 712 | title: Text("Main"), |
@@ -722,7 +722,7 @@ See how simple it is: | @@ -722,7 +722,7 @@ See how simple it is: | ||
722 | ), | 722 | ), |
723 | ); | 723 | ); |
724 | } else if (settings.name == '/second') { | 724 | } else if (settings.name == '/second') { |
725 | - return GetRoute( | 725 | + return GetRouteBase( |
726 | page: Center( | 726 | page: Center( |
727 | child: Scaffold( | 727 | child: Scaffold( |
728 | appBar: AppBar( | 728 | appBar: AppBar( |
-
Please register or login to post a comment