name: flutter_html
description: A Flutter widget rendering static HTML and CSS as Flutter widgets.
version: 1.0.0
homepage: https://github.com/Sub6Resources/flutter_html
environment:
sdk: '>=2.2.2 <3.0.0'
flutter: '>=1.17.0'
dependencies:
# Plugin for parsing html
html: '>=0.14.0+3 <0.15.0'
# Plugins for parsing css
csslib: '>=0.16.2 <0.17.0'
css_colors: '>=1.0.2 <1.1.0'
# Plugins for rendering the <video> tag.
video_player: '>=0.11.0 <2.0.0'
chewie: '>=0.9.10 <0.10.0'
# Plugin for rendering the <iframe> tag.
webview_flutter: '>=1.0.1 <2.0.0'
# Plugins for rendering the <audio> tag.
chewie_audio: '>=1.0.0+1 <1.1.0'
# Plugins for rendering the <svg> tag.
flutter_svg: '>=0.19.0 <0.20.0'
flutter:
sdk: flutter
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
Could you explain what issue you are experiencing or what solution you are proposing (to which problem)?
Dependency is easy be limited.
Because flutter_html >=1.0.2 depends on webview_flutter ^0.3.22+1 and app depends on webview_flutter ^1.0.1, flutter_html >=1.0.2 is forbidden.
So, because app depends on flutter_html ^1.0.2, version solving failed.
pub get failed (1; So, because app depends on flutter_html ^1.0.2, version solving failed.)
But, use dependency expression, things will improve a lot
same issue that @wangbo4020 have commented
Hi guy,
you can use this code to temporarily fix the problem.
webview_flutter: ^1.0.5
flutter_html:
git:
url: git://github.com/thongdn-it/flutter_html.git
I forked flutter_html repo and update dependencies in it.
This Flutter plugin provides an API for querying information about an application package.
Please set your constraint to video_player: '>=0.4.y+x <2.0.0'
Please set your constraint to webview_flutter: '>=0.4.y+x <2.0.0'
The plugin has reached a stable API, we guarantee that version 1.0.0 will be backward compatible with 0.4.y+z. Please use webview_flutter: '>=0.4.y+x <2.0.0' as your dependency constraint to allow a smoother ecosystem migration. For more details see: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
I think this should be fixed in 1.1.1 @wangbo4020
I think this should be fixed in
1.1.1@wangbo4020
That's great, thanks
In the version 1.1.1 the webview_flutter in pubspec.yaml is still1.0.0
Compiling for iOS I get back somewebview_flutter` deprecating errors
Most helpful comment
Dependency is easy be limited.
But, use dependency expression, things will improve a lot