shouldUseDrawer static method

bool shouldUseDrawer(
  1. BuildContext context
)

Implementation

static bool shouldUseDrawer(BuildContext context) {
  return isMobile(context) || (isTablet(context) && isPortrait(context));
}