int relativeToAbsoluteIndex(T section, {required int relativeIndex}) => sectionStartIndex(section) + relativeIndex;