flutter_widget_from_html 0.4.0-rc.2020040701 flutter_widget_from_html: ^0.4.0-rc.2020040701 copied to clipboard
Flutter plugin for widget tree building from html that supports hyperlink, image, nested list, etc.
import 'package:flutter/material.dart';
import 'package:flutter_widget_from_html/flutter_widget_from_html.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Widget from HTML',
home: Scaffold(
appBar: AppBar(
title: Text('Flutter Widget from HTML'),
),
body: Center(
child: HtmlWidget('Hello World!'),
),
),
);
}
}