📜  html to flutter - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:13.233000             🧑  作者: Mango

代码示例1
Add the following to your pubspec.yaml file:
  dependencies:
    flutter_html: ^1.3.0

Example Usage - Data:
  Widget html = Html(
  data: """

Linking to websites has never been easier.

""", onLinkTap: (String url) { //open URL in webview, or launch URL in browser, or any other logic here } );