isDesktop property

bool get isDesktop

Returns true if the screen width is greater than 1024 pixels.

Indicates a desktop or large tablet layout.

Implementation

bool get isDesktop => display.width > 1024;