isDesktop method
Checks if the current screen type is desktop.
Returns true if the screen type is ScreenType.desktop, false otherwise.
Implementation
bool isDesktop() {
return screenType == ScreenType.desktop;
}
Checks if the current screen type is desktop.
Returns true if the screen type is ScreenType.desktop, false otherwise.
bool isDesktop() {
return screenType == ScreenType.desktop;
}