isDesktop property

bool get isDesktop

Checks if the screen type is desktop.

Implementation

bool get isDesktop => (screenType == ScreenType.desktop);