invalidate method
void
invalidate()
Drops retained content so the next paint must go full (e.g. after a mid-cell scroll where shift is baked into pixels).
Implementation
void invalidate() {
_picture?.dispose();
_image?.dispose();
_picture = null;
_image = null;
_size = null;
_nestDepth = 0;
}