1Add the following to your pubspec.yaml file:
2 dependencies:
3 flutter_html: ^1.3.0
4
5Example Usage - Data:
6 Widget html = Html(
7 data: """<p>
8 Linking to <a href='https://github.com'>websites</a> has never been easier.
9 </p>""",
10 onLinkTap: (String url) {
11 //open URL in webview, or launch URL in browser, or any other logic here
12 }
13);