html_character_entities 1.0.0+1 copy "html_character_entities: ^1.0.0+1" to clipboard
html_character_entities: ^1.0.0+1 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
copied to clipboard

With Flutter:

 $ flutter pub add html_character_entities
copied to clipboard

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  html_character_entities: ^1.0.0+1
copied to clipboard

Alternatively, your editor might support dart pub get or 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_character_entities/html_character_entities.dart';
copied to clipboard
21
likes
150
points
149
downloads

Publisher

verified publisherjamesalex.dev

Weekly Downloads

2024.10.07 - 2025.04.21

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.

Repository (GitHub)

Documentation

API reference

License

BSD-2-Clause (license)

More

Packages that depend on html_character_entities