unicode
1.1.9, released 10 months ago by an unverified publisher
Library providing Unicode character utilities and emoji data generated from Unicode 17.0.0
What it does
It offers functions to convert characters to runes, check character categories, get Unicode blocks, and work with emoji names, code points, and decompositions. The data is auto‑generated, so it stays up to date with the Unicode standard.
AI-written summary of version 1.1.9, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to inspect or classify Unicode characters in Dart code.
- You want to look up emojis by name or filter them by status.
- You need quick access to Unicode blocks or character properties without external APIs.
Skip it when
- You only need a small subset of Unicode data and want to avoid the large generated files.
- You are building a minimal, highly optimized binary and can afford to write custom logic instead of pulling in a full Unicode database.
Strengths
- Comprehensive, up‑to‑date Unicode 17.0.0 data.
- Zero runtime dependencies beyond Dart core and small packages.
- Fast lookups for emoji by name and category.
- Includes utilities for character case conversion and block detection.
Weaknesses
- Large generated source files increase package size.
- No support for custom or extended emoji sets beyond Unicode.
- Requires keeping the package updated manually to stay current with new Unicode releases.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
import 'package:unicode/unicode.dart' as u;
final rune = u.toRune('©');
print(u.isOtherSymbol(rune));Alternatives
Packages that do the same job and could replace unicode.
- unorm_dart
Unicode normalization for Dart supporting NFC, NFD, NFKC, and NFKD forms.
87Compare - japx
Lightweight parser that flattens and builds JSON:API structures.
50Compare - version
Parses and compares semantic version numbers in compliance with http://semver.org/
50Compare - http_status_code
A Dart library providing constants and helpers for HTTP status codes.
39Compare
Works with
Packages commonly used together with unicode: ones it builds on, ones built on it, and its own family.
- archiveunicode depends on itEncodes and decodes archive and compression formats such as zip, tar, gzip, and zlib.
- mgrs_dartBuilt on unicodeUtility for converting between WGS84 lat/lng and MGRS coordinates.
- stringsBuilt on unicodeLarge collection of String functions extending the String class and supporting nullable Strings safely.
- youtube_explode_dartBuilt on unicodeQuery YouTube metadata, streams, playlists, captions, and comments without an API key.