Size physicalSize

The dimensions of the rectangle into which the application will be drawn, in physical pixels.

See also:

WidgetsBindingObserver, for a mechanism at the widgets layer to observe when this value changes.

Source

Size get physicalSize => _physicalSize;