api/internal/layout_media_query library
Classes
- LayoutMediaQuery
-
Gives child a
MediaQuerythat matches the box it is laid out in.
Functions
-
layoutMediaQueryData(
MediaQueryData media, Size box) → MediaQueryData -
Rebuilds
mediafor a full-screen surface laid out in a box ofboxsize. -
overlayViewportWidthOf(
BuildContext context) → double -
The viewport width a surface drawn in
context's root overlay should scale against: the overlay's own laid-out width, corrected as layoutMediaQueryData does, orMediaQuerywidth before it has a size.