html_to_flutter 0.1.4-pre
html_to_flutter: ^0.1.4-pre copied to clipboard
A package that parses html content and converts them into TextSpans and renders Text.rich widget.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add html_to_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
html_to_flutter: ^0.1.4-preAlternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:html_to_flutter/html_to_flutter.dart';