As you can see from the image below, flutter is referencing the wrong versions.
Even after moving them into the override section running a flutter pub cache clean
What is going on?
>Solution :
Thats because of caret sign ^. It means that the dependency can be updated to a newer version that is compatible with the current version of the package. For example, if you specify a dependency with ^1.0.0, it means that your app can use any version of the package greater than or equal to 1.0.0 and less than 2.0.0.
If you want exact versions remove caret sign & its safe to move entries under dependencies & not in override section.
The concept is called Semantic versioning, it is a convention for numbering software releases in a way that communicates the nature of changes in each version.
