hooks library
Classes
- CellRouterController
-
A thin controller over a
GoRouter, returned by useCellRouter. - CellRouterScope
-
Provides the
GoRouterand its mirrored state cell to descendants. - CellRouterState
- The current route, as an immutable value.
- CellRouterStateMirror
-
Mirrors a
GoRouter's route state into aValueCell.
Functions
-
routerState(
{required String restorationId, CellRouterState? initial}) → RestorableCell< CellRouterState> - Restorable route-state factory.
-
useCellRouter(
) → CellRouterController - Returns a reactive router controller for the nearest CellRouterScope.