Skip to content

Troubleshooting Tips when flutter_html 2.2.1 with webview_flutter and flutter_svg #1234

@hammadparveez

Description

@hammadparveez

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions