size property
Size
get
size
Retrieves the size of the application window.
Returns the size of the application window adjusted by the pixel ratio.
Implementation
Size get size => window.implicitView!.physicalSize / pixelRatio;