flutter_html
flutter_html copied to clipboard
[DEPENDENCY ISSUES] Please read before posting new issues!!
If you are having dependency conflicts, please do not create a separate issue. As of January 2022, you have a couple different options to resolve the conflicts.
- Upgrade to the latest 3.0.0 package alphas to resolve
flutter_svg
andwebview_flutter
- Use
dependency_overrides
in yourpubspec.yaml
, for example:
Problem:
Resolving dependencies...
Because <project> depends on flutter_html ^2.2.0 which depends on flutter_svg >=0.22.0 <1.0.0, flutter_svg >=0.22.0 <1.0.0 is required.
So, because <project> depends on flutter_svg ^1.0.0, version solving failed.
Solution:
dependency_overrides:
flutter_svg: ^1.0.0
Being such a widely used package, we do not wish to rush to upgrade dependencies to latest. Instead, we test major releases of our dependencies thoroughly to ensure there are no breaking changes or new bugs.
With Modularization complete in v3.0.0, hopefully those who need a simpler HTML experience will no longer need to worry about dependency conflicts. The core package only contains 4 seldom updated dependencies.
^1.0.0
It doesnt work in your new version. please update your dependencies.
@alirezat66 Did you read the post at all? The dependencies are updated in 3.0.0-alpha releases or you can force a version of your dependencies.
Why form labels cannot be loaded
@LHYLYQ31 please open a new issue if you aren't seeing expected behavior.
For anyone else who was struggling to figure out what the latest 3.0.0 beta version name is, it's at the top of the pub.dev page:
So at the time of writing this comment, to reference the latest in pubspec.yaml, it would be:
flutter_html: ^3.0.0-beta.2