html_character_entities 0.1.2+4 html_character_entities: ^0.1.2+4 copied to clipboard
A utility class containing maps of every HTML 4.01 character entity, including ASCII and hex codes, and methods to encode/decode strings with those character entities.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add html_character_entities
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
html_character_entities: ^0.1.2+4
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:html_character_entities/html_character_entities.dart';