dartx library

Superpowers for Dart. Collection of useful static extension methods.

Classes

CharacterRange
A range of characters of a Characters. [...]
Characters
The characters of a string. [...]
ComparableRange<T extends Comparable<T>>
Represents a range of Comparable values such as String or DateTime [...]
DoubleRange
IntProgression
IntRange
A iterable range between two ints which is iterable with a specific step size [...]
Range<T extends Comparable>
Represents a range of values (for example, numbers or characters) with a fixed start value and a fixed endInclusive value. [...]

Extensions

ComparableRangeX
ComparableX
Provides comparison operators for Comparable types.
CompararatorX
Curry2X
Curry3X
Curry4X
DateTimeTimeExtension
DoubleRangeExtension
Special variant for double which implements Comparable<num> and therefore doesn't work for the Comparable<T>.rangeTo(T) extension [...]
DoubleX
DurationTimeExtension
Function0X
Function1X
Function2X
Function3X
Function4X
IntRangeExtension
The equivalent for double is DoubleRangeExtension
IntX
IterableFutureX
IterableIterableX
IterableNumX
Extensions for iterables
IterableX
Extensions for iterables
ListListX
ListX
NumTimeExtension
NumX
StringCharacters
StringX

Typedefs

Function0<R>() → R
Function1<A, R>(A a) → R
Function2<A, B, R>(A a, B b) → R
Function3<A, B, C, R>(A a, B b, C c) → R
Function4<A, B, C, D, R>(A a, B b, C c, D d) → R