SplittableString class

An example of a class that adopts the SplittableMixin -- a splittable string.

Mixed in types

Constructors

SplittableString(String value)

Properties

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

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. If index is zero, or if index 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. If index is zero, or if index 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