Problem
The version of the project depends on a dependency with lower version than the one specified in another dependency
Solution 1 [remove the version number]
Although this solution is discouraged, it is the simplest solution
dependencies:
flutter:
sdk: flutter
...
// original
path: ^1.8.3
// solution
path:
Dart
복사
Solution 2 [dependency_overrides:]
1.
create dependency_overrides: below dev_dependencies:
2.
move the problem dependency under dependency_overrides:
3.
run Pub get
dependency_overrides:
path: ^1.8.3
Dart
복사


