updateForScroll method Null safety

void updateForScroll()

Causes the overlay to update its rendering.

This is intended to be called when the renderObject may have changed its text metrics (e.g. because the text was scrolled).

Implementation

void updateForScroll() {
  _markNeedsBuild();
}