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.8k stars 874 forks source link

[flutter_html 2.2.1 depends on webview_flutter ^2.0.4 and no versions of flutter_html match >2.2.1 <3.0.0] #1158

Closed ranfen closed 2 years ago

ranfen commented 2 years ago

Not a big problem the error is clear:

the new webview_flutter can not be imported it conflict with flutter_html, can you please update

Errror

Because flutter_html 2.2.1 depends on webview_flutter ^2.0.4 and no versions of flutter_html match >2.2.1 <3.0.0, flutter_html ^2.2.1 requires webview_flutter ^2.0.4. So, because example.com depends on both flutter_html ^2.2.1 and webview_flutter ^3.0.4, version solving failed.

Sub6Resources commented 2 years ago

Please install the latest flutter_html version 3.0.0-alpha.6 as well as flutter_html_iframe 3.0.0-alpha.4