flutter_html_null_safe 0.0.2 flutter_html_null_safe: ^0.0.2 copied to clipboard
Updated flutter_html to support latest flutter
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_html_null_safe
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_html_null_safe: ^0.0.2
Alternatively, 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:flutter_html_null_safe/flutter_html.dart';
import 'package:flutter_html_null_safe/html_parser.dart';
import 'package:flutter_html_null_safe/image_render.dart';
import 'package:flutter_html_null_safe/shims/dart_ui.dart';
import 'package:flutter_html_null_safe/shims/dart_ui_fake.dart';
import 'package:flutter_html_null_safe/shims/dart_ui_real.dart';
import 'package:flutter_html_null_safe/style.dart';