Sub6Resources / flutter_html

A Flutter widget for rendering static html as Flutter widgets (Will render over 80 different html tags!)
https://pub.dev/packages/flutter_html
MIT License
1.76k stars 814 forks source link

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

Open tneotia opened 2 years ago

tneotia commented 2 years ago

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.

alirezat66 commented 2 years ago
^1.0.0

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

erickok commented 2 years ago

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

LHYLYQ31 commented 1 year ago

Why form labels cannot be loaded

Sub6Resources commented 1 year ago

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

jamesncl commented 11 months ago

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