router top-level property Other
final
The router for the different screens of the ReVoiceMe app.
{@category Other}
Implementation
final GoRouter router = GoRouter(
/// The routes to the different screens of the ReVoiceMe app.
routes: <RouteBase>[
GoRoute(
path: routes["home"]!.path,
builder: (BuildContext context, GoRouterState state) =>
const HomeScreen(),
),
GoRoute(
path: routes["configurator"]!.path,
builder: (BuildContext context, GoRouterState state) =>
const ConfiguratorScreen(),
),
],
);