Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flutter_html_view ^0.5.11 which depends on cached_network_image ^0.5.0+1, cached_network_image ^0.5.0+1 is required. #92

Open
EwanZaidi opened this issue Apr 17, 2019 · 5 comments

Comments

@EwanZaidi
Copy link

Fix ?

@EwanZaidi
Copy link
Author

flutter_html_view ^0.5.11 which depends on cached_network_image ^0.5.0+1, cached_network_image ^0.5.0+1 is required.

So, because MyApp depends on cached_network_image 0.7.0, version solving failed.
pub get failed (1)

@wenboLee
Copy link

wenboLee commented May 13, 2019

i use extended_image 0.3.3
and it depends path_provider ^0.5.0+1
but the flutter_html_view depends path_provider ^0.4.0

the log

Because no versions of flutter_html_view match >0.5.11 <0.6.0 and flutter_html_view 0.5.11 depends on cached_network_image ^0.5.0+1, flutter_html_view ^0.5.11 requires cached_network_image ^0.5.0+1.

And because cached_network_image >=0.5.0+1 <0.6.0-alpha depends on flutter_cache_manager ^0.2.0+1, flutter_html_view ^0.5.11 requires flutter_cache_manager ^0.2.0+1.

Because flutter_cache_manager 0.2.0+1 depends on path_provider ^0.4.0 and no versions of flutter_cache_manager match >0.2.0+1 <0.3.0, flutter_cache_manager ^0.2.0+1 requires path_provider ^0.4.0.

Thus, flutter_html_view ^0.5.11 requires path_provider ^0.4.0.

So, because flutter_app depends on both path_provider ^0.5.0+1 and flutter_html_view ^0.5.11, version solving failed.

@lisen87
Copy link

lisen87 commented May 15, 2019

fork extended_image 0.3.3 and fork extended_image_library, modify extended_image_library:pubspec.yaml

or use https://github.com/lisen87/extended_image
中国

@wenboLee
Copy link

ths @lisen87

@thgoebel
Copy link

Try https://pub.dev/packages/flutter_html instead, it worked for me (and has faster rendering for large HTMLs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants