reportMeasuredHeight method

void reportMeasuredHeight(
  1. double height
)

Calibrates the title collapse distance to the actual rendered height.

Called automatically by GlassLargeTitle after first layout. You do not normally need to call this yourself.

Implementation

void reportMeasuredHeight(double height) {
  if (height > 0 && height != _collapseTitleHeight) {
    _collapseTitleHeight = height;
    _updateState();
  }
}