Closed KN-Pradeep closed 3 years ago
The error message and the pubspec.yaml
you posted don't match.
Error message: dartx >=0.2.0 <0.5.0
pubspec.yaml: dartx: ^0.5.0
which equals dartx >=0.5.0 <0.6.0
Add dartx: ^0.5.0
to your pubspec.yaml and and run flutter packages upgrade
. This error only happens when your pubspec.yaml
& pubspec.lock
file reference dartx: 0.4.X
and you run flutter packages get
.
I used to work with the previous stable version of flutter and mainly I used Hive DB to store data locally. I switched to a new machine and currently I have the latest version of flutter downloaded. Currently I am facing problem when I run to get packages. Below is the error
Below is my dependencies mentioned on pubspec.yml