isTablet static method

bool isTablet()

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;