0

My code was working without problem. After upgrading flutter, pug get is giving error: enter image description here

But when I set intl to intl 0.17.0 , I got another error enter image description here

How can I solve this. Is it possible to go back in the old version of flutter? Thanks

1

2 Answers 2

0

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:
Sign up to request clarification or add additional context in comments.

Comments

0

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.