EastAsianWidthUCD class

A class that provides information about the East Asian Width of a character

ref: https://www.unicode.org/reports/tr11/tr11-41.html

Constructors

EastAsianWidthUCD(String filename)
Creates a new instance of EastAsianWidthUCD from a file

Properties

codePoints List<EastAsianWidthItem>
List of codePoints definitions
getter/setter pairinherited
filename String
UCD file name
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

find(int target) EastAsianWidthItem
Finds a codePoint or return a default item as 'N" (Neutral) category
findIn(List<EastAsianWidthItem> items, int target) EastAsianWidthItem?
Find codepoint in an abritrary list of items
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse() Future<void>
Initiates the parsing of the UCD file
sort() → void
Sort the codepoints
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fileName → const String
The filename of the UCD file