physicalSize property

Size get physicalSize

The size in physical pixels.

Implementation

Size get physicalSize => size * devicePixelRatio;