isTablet static method
Implementation
static bool isTablet(BuildContext context) {
var breakpoint = Breakpoint.fromMediaQuery(context);
if (breakpoint.device == LayoutClass.largeTablet ||
breakpoint.device == LayoutClass.smallTablet ||
breakpoint.device == LayoutClass.desktop) {
return true;
}
return false;
}