SplittableString class
An example of a class that adopts the SplittableMixin -- a splittable string.
- Mixed-in types
Constructors
- SplittableString(String value)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
splitAt(
int index, {bool ignoreFloatedWidgetSpans = false}) → List< SplittableString> -
Splits this object at the given
index
and returns a list of one or two objects. Ifindex
is zero, or ifindex
is greater than the number of items in this object, a list containing just this object is returned. If this object was split, a list of two objects is returned, containing the two new split objects.inherited -
splitAtIndex(
SplitAtIndex index, {bool ignoreFloatedWidgetSpans = false}) → List< SplittableString> -
Splits this object at the given
index
and returns a list of one or two objects. Ifindex
is zero, or ifindex
is greater than the number of items in this object, a list containing just this object is returned. If this object was split, a list of two objects is returned, containing the two new split objects.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited