Description
The image_editor.dart file is throwing compilation errors because it attempts to access localized strings that do not exist in the generated AppLocalizations class. This typically happens if the keys are missing from the .arb files or if the localization generation step hasn't been run.
Error Details
File: lib/view/image_editor.dart
Errors:
Line 606: The getter 'import' isn't defined for the type 'AppLocalizations'.
Line 650: The getter 'text' isn't defined for the type 'AppLocalizations'.
Steps to Reproduce
Open lib/view/image_editor.dart.
Observe the red linting/errors on calls to AppLocalizations.of(context)!.import and AppLocalizations.of(context)!.text.
Description
The image_editor.dart file is throwing compilation errors because it attempts to access localized strings that do not exist in the generated AppLocalizations class. This typically happens if the keys are missing from the .arb files or if the localization generation step hasn't been run.
Error Details
File: lib/view/image_editor.dart
Errors:
Line 606: The getter 'import' isn't defined for the type 'AppLocalizations'.
Line 650: The getter 'text' isn't defined for the type 'AppLocalizations'.
Steps to Reproduce
Open lib/view/image_editor.dart.
Observe the red linting/errors on calls to AppLocalizations.of(context)!.import and AppLocalizations.of(context)!.text.