router top-level property
The active router instance, set by createRouter. Used by static callbacks (e.g. notification tap handler) that cannot receive the instance directly.
Implementation
GoRouter get router => _activeRouter!;
The active router instance, set by createRouter. Used by static callbacks (e.g. notification tap handler) that cannot receive the instance directly.
GoRouter get router => _activeRouter!;