isDesktop property

bool get isDesktop

Whether the screen type is ScreenType.desktop.

Implementation

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