rebuild
This commit is contained in:
@ -8,10 +8,11 @@ import 'package:momo/material/profile.dart';
|
||||
|
||||
class MyMaterialRouterConfig {
|
||||
late GoRouter router;
|
||||
|
||||
final GlobalKey<NavigatorState> _rootNavigatorKey =
|
||||
GlobalKey<NavigatorState>();
|
||||
|
||||
MyMaterialRouterConfig(String? token) {
|
||||
MyMaterialRouterConfig(String? token, UniqueKey uniqueKey) {
|
||||
router = GoRouter(
|
||||
navigatorKey: _rootNavigatorKey,
|
||||
initialLocation: "/",
|
||||
|
||||
Reference in New Issue
Block a user