utils/modal_geometry
library
Functions
-
globalBoundsOf(RenderBox box)
→ Rect?
-
The global bounds of
box as painted now, or null when it or any
render object above it hasn't been laid out yet: a transition that
starts inserts a wrapper the frame lays out (#159).
-
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.