flutter_widget_from_html 0.15.1 flutter_widget_from_html: ^0.15.1 copied to clipboard
Flutter package to render html as widgets that supports hyperlink, image, audio, video, iframe and many other tags.
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!'),
),
),
);
}
}