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