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
Jonny Borges
2023-02-27 13:37:25 -0300
Browse Files
Options
Browse Files
Download
Plain Diff
Committed by
GitHub
2023-02-27 13:37:25 -0300
Commit
ddd0b8418487f93fc4b930ce4979eef0bea47ae5
ddd0b841
2 parents
27899e73
1404bbb3
Merge pull request #2643 from Riadloc/master
add routerConfig
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
lib/get_navigation/src/root/get_cupertino_app.dart
lib/get_navigation/src/root/get_material_app.dart
lib/get_navigation/src/root/get_cupertino_app.dart
View file @
ddd0b84
...
...
@@ -59,6 +59,7 @@ class GetCupertinoApp extends StatelessWidget {
final
RouteInformationProvider
?
routeInformationProvider
;
final
RouteInformationParser
<
Object
>?
routeInformationParser
;
final
RouterDelegate
<
Object
>?
routerDelegate
;
final
RouterConfig
<
Object
>?
routerConfig
;
final
BackButtonDispatcher
?
backButtonDispatcher
;
final
CupertinoThemeData
?
theme
;
final
bool
useInheritedMediaQuery
;
...
...
@@ -123,6 +124,7 @@ class GetCupertinoApp extends StatelessWidget {
backButtonDispatcher
=
null
,
routeInformationParser
=
null
,
routerDelegate
=
null
,
routerConfig
=
null
,
super
(
key:
key
);
const
GetCupertinoApp
.
router
({
...
...
@@ -131,6 +133,7 @@ class GetCupertinoApp extends StatelessWidget {
this
.
routeInformationProvider
,
this
.
routeInformationParser
,
this
.
routerDelegate
,
this
.
routerConfig
,
this
.
backButtonDispatcher
,
this
.
builder
,
this
.
title
=
''
,
...
...
@@ -222,6 +225,7 @@ class GetCupertinoApp extends StatelessWidget {
routeInformationParser:
controller
.
config
.
routeInformationParser
,
backButtonDispatcher:
backButtonDispatcher
,
routeInformationProvider:
routeInformationProvider
,
routerConfig:
routerConfig
,
key:
controller
.
config
.
unikey
,
builder:
(
context
,
child
)
=>
Directionality
(
textDirection:
textDirection
??
...
...
lib/get_navigation/src/root/get_material_app.dart
View file @
ddd0b84
...
...
@@ -63,6 +63,7 @@ class GetMaterialApp extends StatelessWidget {
final
RouteInformationProvider
?
routeInformationProvider
;
final
RouteInformationParser
<
Object
>?
routeInformationParser
;
final
RouterDelegate
<
Object
>?
routerDelegate
;
final
RouterConfig
<
Object
>?
routerConfig
;
final
BackButtonDispatcher
?
backButtonDispatcher
;
final
bool
useInheritedMediaQuery
;
...
...
@@ -127,6 +128,7 @@ class GetMaterialApp extends StatelessWidget {
backButtonDispatcher
=
null
,
routeInformationParser
=
null
,
routerDelegate
=
null
,
routerConfig
=
null
,
super
(
key:
key
);
const
GetMaterialApp
.
router
({
...
...
@@ -135,6 +137,7 @@ class GetMaterialApp extends StatelessWidget {
this
.
scaffoldMessengerKey
,
this
.
routeInformationParser
,
this
.
routerDelegate
,
this
.
routerConfig
,
this
.
backButtonDispatcher
,
this
.
builder
,
this
.
title
=
''
,
...
...
@@ -245,6 +248,7 @@ class GetMaterialApp extends StatelessWidget {
routeInformationParser:
controller
.
config
.
routeInformationParser
,
backButtonDispatcher:
backButtonDispatcher
,
routeInformationProvider:
routeInformationProvider
,
routerConfig:
routerConfig
,
key:
controller
.
config
.
unikey
,
builder:
(
context
,
child
)
=>
Directionality
(
textDirection:
textDirection
??
...
...
Please
register
or
login
to post a comment