skip to Main Content

Flutter doctor all good.
My pubspe.yaml.
enter image description here

My terminal Problem.
enter image description here

3

Answers


  1. Chosen as BEST ANSWER

    this two command solved my problem:

    flutter channel master
    flutter upgrade
    

  2. Change dart sdk version in pubspec.yaml to following,

    environment:
      sdk: ">=2.17.6 <3.0.0"
    
    Login or Signup to reply.
  3. Do you really need dart SDK version 2.18 and above? If not, just update your pubspec.yaml accordingly:

    environment:
      sdk: ">=2.17.6 <3.0.0"
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search