router property

NavigatorState get router

Merely another name for it.

Implementation

NavigatorState get router => navigatorKey.currentState!;