reset method
void
reset()
Resets every piece of layout-derived state to the empty defaults the render object uses on first layout. Call when the controller swaps or the render object is hot-reloaded.
Implementation
void reset() {
_stickyByNid = <StickyHeaderInfo<TKey>?>[];
_stickyHeaders.clear();
_writtenStickyNidsLen = 0;
dirty = true;
_lastStickyScrollOffset = double.nan;
_lastPrecomputedCount = 0;
_throttleCounter = 0;
}