skip to Main Content

I need to read the HTML codes in the page in Flutter. I found a package that does this, but there is a problem when opening some detailed SVG files. How do I read HTML tags within the page without using Webview?

I used the flutter_widget_from_html package. Overall it worked and did what I wanted. Problem displaying SVG files

2

Answers


  1. Chosen as BEST ANSWER

    I think I solved the problem, I downloaded the Core package and used flutter_svg for Svg files.


  2. The fwfh_svg package is an extension to the flutter_widget_from_html to support rendering SVGs.

    From the package’s readme:

    WidgetFactory extension to render SVG with flutter_svg plugin. This is a companion add-on for flutter_widget_from_html_core package.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search