I'm trying to migrate my Flutter/Dart project to Null Safety. When I run
dart pub outdated --mode=null-safety
It appears that all my dependencies support null-safety
Showing dependencies that are currently not opted in to null-safety. [✗] indicates versions without null safety support. [✓] indicates versions opting in to null safety.
All your dependencies declare support for null-safety.
I'm using the "dart migrate" tool. When I apply changes, an error appears in my code:
The library 'package:xxx/generated/l10n.dart' is legacy, and should not be imported into a null safe library. Try migrating the imported library.dart(import_of_legacy_library_into_null_safe)
Is it really possible to migrate to null safety if translation / internationalization services are being used within Flutter projects?