isTablet method
Implementation
bool isTablet(BuildContext context) {
final shortestSide = MediaQuery.of(context).size.shortestSide;
if (shortestSide < kTabletBreakpoint) {
return false;
}
return true;
}
bool isTablet(BuildContext context) {
final shortestSide = MediaQuery.of(context).size.shortestSide;
if (shortestSide < kTabletBreakpoint) {
return false;
}
return true;
}