stride library Null safety

Enables iterating Dart lists and iterables using a custom step size and start index.

Classes

ReverseStrideIterator<E>
Iterates an Iterable using a negative non-zero step size and a custom start index.
ReverseUncheckedStrideIterator<E>
Iterates an Iterable using a negative non-zero step size and a custom start index.
StrideIterator<E>
Iterates an Iterable using a positive non-zero step size and a custom start index.
UncheckedStrideIterator<E>
Iterates a fixed length List using a positive non-zero step size and a custom start index.

Extensions

FastStride
Extension on List<E> providing the method stride.
Stride
Extension on Iterable<E> providing the method stride.