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