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

Troubleshooting Tips when flutter_html 2.2.1 with webview_flutter and flutter_svg #1234

Closed
hammadparveez opened this issue Feb 26, 2023 · 4 comments

Comments

@hammadparveez
Copy link

If you are experiencing difficulty using other libraries alongside flutter_html: ^2.2.1, Here I have forked and modified the original flutter_html repository to enable compatibility with other packages such as webview_flutter and flutter_svg.

To use the modified version of flutter_html, you can add the following to your pubspec.yaml file:

webview_flutter: ^4.0.1
flutter_html:
  git:
    url: https://github.com/hammadparveez/flutter_html
    ref: v2.2.1

Additionally, if you want to use the latest version of flutter_svg, you can override its dependency in the pubspec.yaml file as follows:

dependency_overrides:
  flutter_svg: ^2.0.1

@jamesdixon
Copy link

Thank you!

@AliEasy
Copy link

AliEasy commented Mar 11, 2023

Great!

@Sembauke
Copy link

Awesome, these guys don't understand semantic versioning...

@Sub6Resources
Copy link
Owner

See #978

Also, upgrades to the current major version of all the dependencies coming very soon. See #1176

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

5 participants