My code was working without problem. After upgrading flutter, pug get is giving error:
But when I set intl to intl 0.17.0 , I got another error
How can I solve this. Is it possible to go back in the old version of flutter? Thanks
My code was working without problem. After upgrading flutter, pug get is giving error:
But when I set intl to intl 0.17.0 , I got another error
How can I solve this. Is it possible to go back in the old version of flutter? Thanks
The best way would be just remove the version from the dependencies which are causing error. And then run pub get it will automatically take the best version combination. For example replace :-
intl: ^0.17.0
with
intl:
You can try overriding the dependencies with:
dependencies:
...
dependency_overrides:
# intl: any
intl: ^0.17.0-nullsafety.2
Try overriding with specific version to limit the problem.