getRouter function
Implementation
GoRouter getRouter(Widget child) {
return GoRouter(
routes: [
GoRoute(
path: '/',
builder: (context, state) => child,
),
],
);
}
GoRouter getRouter(Widget child) {
return GoRouter(
routes: [
GoRoute(
path: '/',
builder: (context, state) => child,
),
],
);
}