api/internal/layout_media_query library

Classes

LayoutMediaQuery
Gives child a MediaQuery that matches the box it is laid out in.

Functions

layoutMediaQueryData(MediaQueryData media, Size box) → MediaQueryData
Rebuilds media for a full-screen surface laid out in a box of box size.
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, or MediaQuery width before it has a size.