You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I received this issue:
`════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following NoSuchMethodError was thrown building AboutPage(dirty):
The method 'containsKey' was called on null.
Receiver: null
Tried calling: containsKey("about")
The relevant error-causing widget was:
AboutPage file:///Users/ti/Documents/work/bitsens/daycounter/lib/router/app_router.dart:52:33
When the exception was thrown, this was the stack:
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5) #1 Translations.isNestedKey (package:easy_localization/src/translations.dart:40:22) #2 Translations.get (package:easy_localization/src/translations.dart:7:8) #3 Localization._resolve (package:easy_localization/src/localization.dart:92:36) #4 Localization.tr (package:easy_localization/src/localization.dart:37:13)`
My Json is: { "about": "About" }
LocaleKeys and CodegenLoader generated correctly.
Here is my main class: runApp(EasyLocalization( supportedLocales: AppLocalization.supportedLocales, path: AppLocalization.path, assetLoader: CodegenLoader(), fallbackLocale: AppLocalization.supportedLocales[0], child: App()));
Could you please help me with that?
The text was updated successfully, but these errors were encountered:
I received this issue:
`════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following NoSuchMethodError was thrown building AboutPage(dirty):
The method 'containsKey' was called on null.
Receiver: null
Tried calling: containsKey("about")
The relevant error-causing widget was:
AboutPage file:///Users/ti/Documents/work/bitsens/daycounter/lib/router/app_router.dart:52:33
When the exception was thrown, this was the stack:
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
#1 Translations.isNestedKey (package:easy_localization/src/translations.dart:40:22)
#2 Translations.get (package:easy_localization/src/translations.dart:7:8)
#3 Localization._resolve (package:easy_localization/src/localization.dart:92:36)
#4 Localization.tr (package:easy_localization/src/localization.dart:37:13)`
My Json is:
{ "about": "About" }
LocaleKeys and CodegenLoader generated correctly.
Here is my main class: runApp(EasyLocalization( supportedLocales: AppLocalization.supportedLocales, path: AppLocalization.path, assetLoader: CodegenLoader(), fallbackLocale: AppLocalization.supportedLocales[0], child: App()));
Could you please help me with that?
The text was updated successfully, but these errors were encountered: