GraphemeSplitter class

Constructors

GraphemeSplitter()

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

countGraphemes(String str) int
countGraphemes returns the number of grapheme clusters there are in the given string
iterateGraphemes(String str) Iterable<String>
iterateGraphemes returns the iterator of grapheme clusters there are in the given string
nextBreak(String string, [int? index]) int
nextBreak returns the next grapheme break in the string after the given index
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
splitGraphemes(String str) Iterable<String>
splitGraphemes Breaks the given string into an array of grapheme cluster strings
toString() String
A string representation of this object.
inherited

Operators

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