isTablet method

bool isTablet()

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;
}