isTablet static method
True when the short side is 600+ (always false on web). if (UApp.isTablet()) twoColumns()
Implementation
static bool isTablet() => !isWeb && MediaQuery.of(navigatorKey.currentContext!).size.shortestSide >= 600;
True when the short side is 600+ (always false on web). if (UApp.isTablet()) twoColumns()
static bool isTablet() => !isWeb && MediaQuery.of(navigatorKey.currentContext!).size.shortestSide >= 600;