splitAt method
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.
Classes the adopt this mixin should not implement this method.
Implementation
List<T> splitAt(
int index, {
bool ignoreFloatedWidgetSpans = false,
}) =>
splitAtIndex(
SplitAtIndex(index),
ignoreFloatedWidgetSpans: ignoreFloatedWidgetSpans,
);