navigator top-level property Null safety

NavigatorState? 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 => GetNavigation(Get).key.currentState;