pubspec.yaml has no lower-bound SDK constraint.
You will get this error usually, when you clone project form github....
--> which must be because your pubspec.yaml file is missing lines as follow:-
---------------|
version: 1.0.0+1 |
|---> These lines......
environment: |
sdk: ">=2.15.1 <3.0.0" |
----------------|
--> So, check it out.
--> if yes, then copy from your pubspec.yaml file of your own another project...
Well, it worked for me....hehehe
|