navigator top-level property
NavigatorState?
get
navigator
It replaces the Flutter Navigator, but needs no context. You can to use navigator.push(YourRoute()) rather Navigator.push(context, YourRoute());
Implementation
NavigatorState? get navigator => GetNavigationExt(Get).key.currentState;