calculateYearOffsets method

void calculateYearOffsets()

Implementation

void calculateYearOffsets() {
  double offset = 0;
  for (var year in years.values) {
    _yearOffsetCache[year.year] = offset;
    offset += year.height;
  }
}