isTablet static method

bool isTablet(
  1. BuildContext context
)

Implementation

static bool isTablet(BuildContext context) {
  return MediaQuery.of(context).size.width >= Breakpoint.mobile &&
      MediaQuery.of(context).size.width < Breakpoint.tablet &&
      !kIsWeb;
}