isTablet static method

bool isTablet(
  1. BuildContext context
)

Returns true if the screen width is between 650 and 1100

Implementation

static bool isTablet(BuildContext context) =>
    MediaQuery.of(context).size.width >= (650) &&
    MediaQuery.of(context).size.width < (1100);