flutter_html icon indicating copy to clipboard operation
flutter_html copied to clipboard

[DEPENDENCY ISSUES] Please read before posting new issues!!

Open tneotia opened this issue 2 years ago • 5 comments

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.

  1. Upgrade to the latest 3.0.0 package alphas to resolve flutter_svg and webview_flutter
  2. Use dependency_overrides in your pubspec.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.

tneotia avatar Jan 12 '22 01:01 tneotia

^1.0.0

It doesnt work in your new version. please update your dependencies.

alirezat66 avatar May 01 '22 14:05 alirezat66

@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.

erickok avatar May 02 '22 05:05 erickok

Why form labels cannot be loaded

LHYLYQ31 avatar Jun 11 '22 03:06 LHYLYQ31

@LHYLYQ31 please open a new issue if you aren't seeing expected behavior.

Sub6Resources avatar Jun 11 '22 06:06 Sub6Resources

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:

image

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

jamesncl avatar Jun 28 '23 16:06 jamesncl