openOverlayOnTop property
bool
openOverlayOnTop
Return true if overlay should be mounted on the top of the input field
Implementation
bool get openOverlayOnTop {
if (globalPaintBounds == null || currentContext == null) return false;
return MediaQuery.of(currentContext!).size.height - (globalPaintBounds!.bottomCenter.dy + 8) - 50 < 225;
}