Version solving for certain package versions failed in flutter
Solution 1:
You can use 'pub outdated' command like below.
https://dart.dev/tools/pub/cmd/pub-outdated
Here is column what means.
-
Current
The version used in your package, as recorded in pubspec.lock. If the package isn’t in pubspec.lock, the value is -. -
Upgradable
The latest version allowed by your pubspec.yaml file. This is the version that dart pub upgrade resolves to. The value is - if the value in the Current column is -. -
Resolvable
The latest version that can be resolved, when combined with all other dependencies. This version corresponds to what dart pub upgrade gives you if all version constraints in pubspec.yaml are unbounded. A value of - means that the package won’t be needed. -
Latest
The latest version of the package available, excluding prereleases unless you use the option --prereleases.
flutter pub outdated