diff --git a/example/lib/main.dart b/example/lib/main.dart index 18c6f9f..7fae307 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -67,6 +67,7 @@ class _MyAppState extends State { ChangeNotifierProvider.value(value: UserInfoNotifier()), ], child: MaterialApp( + navigatorKey: navigatorKey, localizationsDelegates: [ RefreshLocalizations.delegate, GlobalMaterialLocalizations.delegate,