RowHeightIndex constructor
Initializes length rows with estimatedHeight.
Implementation
RowHeightIndex(this.length, {this.estimatedHeight = 24})
: _tree = List.filled(length + 1, 0) {
RangeError.checkNotNegative(length, 'length');
if (!estimatedHeight.isFinite || estimatedHeight <= 0) {
throw ArgumentError.value(estimatedHeight, 'estimatedHeight');
}
}