In Flutter, is it possible to open an html file locally from resources?

Is there such a possibility in Flutter to open an html file from the resources of the application itself, and not from the network ?
- The essence of the question : I am writing an offline application recipe book (so far only for Android), there is a lot of text and often this text needs to be formatted for beauty (font, color, underline, etc.), it is convenient to make tags in html, and then open in the application. Can you give me some advice on how to make the app differently, if this option is not suitable ?
Thanks...

Author: Northwood_FX, 2019-07-14

1 answers

In Flutter, is it possible to open an html file locally from resources?

Flutter doesn't have this feature, but Dart has tools for working with html. There is an alternative in the form of using libraries under flutter, in turn, they will help you insert your html file into the project code, here are some of them:

  1. Html
  2. Flutter Html
  3. Flutter Widget from HTML

Even more you can find the libraries at pub. dev

 1
Author: MiT, 2019-07-16 06:52:03