Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Nicolas Lopez
2021-01-15 19:37:15 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
58b9f008c7fe924c8bd6a2ffe1aa9260d1b3d3f3
58b9f008
1 parent
e1ae5e2a
fix previout commit error
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
lib/get_navigation/src/root/get_material_app.dart
lib/get_navigation/src/root/get_material_app.dart
View file @
58b9f00
...
...
@@ -198,10 +198,8 @@ class GetMaterialApp extends StatelessWidget {
initialRoute
=
null
,
super
(
key:
key
);
Route
<
dynamic
>
generator
(
RouteSettings
settings
)
{
print
(
settings
.
name
);
return
PageRedirect
(
settings
,
unknownRoute
).
page
();
}
Route
<
dynamic
>
generator
(
RouteSettings
settings
)
=>
PageRedirect
(
settings
,
unknownRoute
).
page
();
List
<
Route
<
dynamic
>>
initialRoutesGenerate
(
String
name
)
=>
[
PageRedirect
(
RouteSettings
(
name:
name
),
unknownRoute
).
page
()];
...
...
Please
register
or
login
to post a comment