UnicodeFontConverter class

Unicode converter helper

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

clear(String text) String
Tries to determine the font of the given text and converts it to normal text.
convert(String text, UnicodeFont fromFont, UnicodeFont toFont) String
Converts the given text from the given fromFont to the toFont.
encode(String text, UnicodeFont font) String
Converts the given text to the specified font.
getFont(String text, {bool fromStart = false}) UnicodeFont
Tries to determine the font from the first or last character of the given text.
getFontFromTextEnd(String text) UnicodeFont
Tries to determine the font from the last character of the given text.
getFontFromTextStart(String text) UnicodeFont
Tries to determine the font from the first character of the given text.