inSmallScreen property

bool get inSmallScreen

Return the bool value indicating if running in a small screen or not.

Implementation

static bool get inSmallScreen {
  bool smallScreen;

  // May be manually assigned.
  smallScreen = asSmallScreen;

  if (!smallScreen) {
    smallScreen = screenSize.width < 800;
  }
  return smallScreen;
}