Returns the duration for the animation at the given index.
index
The duration is calculated as increment * index.
increment * index
Duration operator [](int index) => increment * index;