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 have updated the flutter for nullsafety version. And see the next error, when trying to update YAML
Because flutter_sheet_localization_generator >=2.0.0 depends on intl ^0.16.1 and my_app depends on intl ^0.17.0-nullsafety.2, flutter_sheet_localization_generator >=2.0.0 is forbidden.
So, because my_app depends on flutter_sheet_localization_generator ^2.1.2, version solving failed.
pub get failed (1; So, because my_app depends on flutter_sheet_localization_generator ^2.1.2, version solving failed.)
The text was updated successfully, but these errors were encountered:
romathebest
changed the title
Please add support nullsafety and update intl to version0.17.0-nullsafety.2
Please add support nullsafety and update intl to version 0.17.0-nullsafety.2
Feb 23, 2021
For now this can be fixed temporarily by adding this to your pubspec.yaml:
dependency_overrides:
analyzer: 0.40.1
intl: 0.17.0-nullsafety.2
and in the dev_dependencies
build_runner: ^1.11.0
I agree it would be great if that could be fixed completely at some point. I guess on Wednesday there is going to be an announcement of a big version change in flutter, that could be a good occasion.
I have asked the author of the plugin, he said he needs code_builder and dart_style to get updated to null safety first.
So if you want this to happen, you can also follow/comment/like the following issues: dart-lang/tools#1136 (null safety code_builder) dart-lang/dart_style#978 (null safety in dart_style)
I have updated the flutter for nullsafety version. And see the next error, when trying to update YAML
Because flutter_sheet_localization_generator >=2.0.0 depends on intl ^0.16.1 and my_app depends on intl ^0.17.0-nullsafety.2, flutter_sheet_localization_generator >=2.0.0 is forbidden.
So, because my_app depends on flutter_sheet_localization_generator ^2.1.2, version solving failed.
pub get failed (1; So, because my_app depends on flutter_sheet_localization_generator ^2.1.2, version solving failed.)
The text was updated successfully, but these errors were encountered: