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
Jonatas
2020-09-15 18:01:02 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6206b3c25e8cf1cb76a42f4bf018313d241b52d2
6206b3c2
1 parent
a8430d0d
fix analyze
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
lib/src/navigation/extension_navigation.dart
lib/src/navigation/extension_navigation.dart
View file @
6206b3c
...
...
@@ -11,11 +11,6 @@ import 'root/parse_route.dart';
import
'root/root_controller.dart'
;
import
'routes/bindings_interface.dart'
;
/// It replaces the Flutter Navigator, but needs no context.
/// You can to use navigator.push(YourRoute()) rather
/// Navigator.push(context, YourRoute());
NavigatorState
get
navigator
=>
Get
.
key
.
currentState
;
extension
GetNavigation
on
GetInterface
{
/// **Navigation.push()** shortcut.<br><br>
///
...
...
@@ -1057,3 +1052,8 @@ Since version 2.8 it is possible to access the properties
static
GetMaterialController
getxController
=
GetMaterialController
();
}
/// It replaces the Flutter Navigator, but needs no context.
/// You can to use navigator.push(YourRoute()) rather
/// Navigator.push(context, YourRoute());
NavigatorState
get
navigator
=>
Get
.
key
.
currentState
;
...
...
Please
register
or
login
to post a comment