renderHash method

int renderHash()

Returns a cached hash of the line's rendered content.

Implementation

int renderHash() {
  final cached = _renderHash;
  if (cached != null) return cached;
  var hash = 0;
  for (var i = 0; i < _cells.length; i++) {
    hash ^= _slotHash(i, _cells[i].renderFingerprint);
  }
  _renderHash = hash;
  return hash;
}