utils/modal_geometry library

Functions

modalRouteContentRect(ModalRoute route) → Rect?
The global bounds of what a modal route paints (its sheet, popup or dialog, not its barrier), for position-aware hiding and halo containment of the CN widgets under it (#149). Rect.zero when it paints nothing, null when that can't be told.