MomentDurationGetter typedef

MomentDurationGetter = Duration Function(int? index)

Callback function that accepts the index of moment and returns its' Duration

Implementation

typedef Duration MomentDurationGetter(int? index);