screenSize top-level property

Size screenSize

Implementation

Size get screenSize => ui.window.physicalSize / ui.window.devicePixelRatio;