flutter_html 0.0.1 copy "flutter_html: ^0.0.1" to clipboard
flutter_html: ^0.0.1 copied to clipboard

outdated

A Flutter widget for rendering static html tags as Flutter widgets.

flutter_html_widget #

A Flutter widget for rendering basic html tags as Flutter widgets.

Installing: #

Add the following to your pubspec.yaml file:

dependencies:
  flutter_html_widget: ^0.0.1

Usage: #

HtmlWidget(
  data: yourHTMLString,
  // Optional parameters
  // padding: EdgeInsetsGeometry.all(8.0),
  // backgroundColor: Colors.blue,
)

Supported HTML Tags: #

  • b
  • body
  • div
  • i
  • u

Here are a list of elements that this package will never support:

  • script

Why this package? #

This package is designed with simplicity in mind. Flutter currently does not support rendering of web content into the widget tree. This package is designed to be a reasonable alternative for rendering static web content until official support is added.

1967
likes
0
pub points
100%
popularity

Publisher

verified publishersub6resources.com

A Flutter widget for rendering static html tags as Flutter widgets.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, html

More

Packages that depend on flutter_html