offsetFor method
Distance from the beginning to the top of row.
Implementation
double offsetFor(int row) {
RangeError.checkValueInInterval(row, 0, length, 'row');
var offset = row * estimatedHeight;
for (var index = row; index > 0; index -= index & -index) {
offset += _tree[index];
}
return offset;
}