'Use HTML file with inline or external css in flutter

I am working on a flutter application, which consists of an EPUB reader (I have used the epub_view package to render the EPUB files). Since we already have a web app which has its own reader (developed using HTML and CSS) we are planning to migrate the books from the web into the app. We decided to use the HTML and CSS data as is it (since the books data is in html and css) and find a way to render it in the flutter application using the existing EPUB, since we had modified the package to meet our requirements we don't want to change it but want to modify it in such a way so that we can render the HTML along with the CSS. Right now the EPUB works by rendering the HTLM data correctly but the CSS code does not work. If you guys have any way to parse the CSS, it would be of great help !!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source