hooks library

Classes

CellRouterController
A thin controller over a GoRouter, returned by useCellRouter.
CellRouterScope
Provides the GoRouter and its mirrored state cell to descendants.
CellRouterState
The current route, as an immutable value.
CellRouterStateMirror
Mirrors a GoRouter's route state into a ValueCell.

Functions

routerState({required String restorationId, CellRouterState? initial}) → RestorableCell<CellRouterState>
Restorable route-state factory.
useCellRouter() → CellRouterController
Returns a reactive router controller for the nearest CellRouterScope.