Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the problem
When the project uses mime package with version 2.x.x the following error is raised:
Because no versions of flutter_gen_runner match >5.7.0 <6.0.0 and flutter_gen_runner 5.7.0 depends on flutter_gen_core 5.7.0, flutter_gen_runner ^5.7.0 requires flutter_gen_core 5.7.0.
And because flutter_gen_core 5.7.0 depends on mime ^1.0.0, flutter_gen_runner ^5.7.0 requires mime ^1.0.0.
So, because example_app depends on both mime ^2.0.0 and flutter_gen_runner ^5.7.0, version solving failed.
It will block the future updates of build_runner: ^2.4.13 and higher.
Describe the solution
The pubspec.yaml should contain 2.x.x version of mime and higher incorporating the breaking changes of the package.
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct