markLocalBoundsDirty method

void markLocalBoundsDirty()

Invalidate the cached localBounds. Rarely needed, since the cache already detects a replaced primitive geometry and a bumped Geometry.localBoundsVersion; call this only after mutating a geometry's bounds through a path that leaves its version unchanged.

Implementation

void markLocalBoundsDirty() {
  _localBoundsCache = null;
  _localBoundsCached = false;
  _cachedBoundsVersions = null;
  _cachedGeometries = null;
}