isTablet property
bool
get
isTablet
Returns true if the screen is a tablet (600 <= width < 1200).
Example:
if (context.isTablet) { ... }
Implementation
bool get isTablet => screenWidth >= 600 && screenWidth < 1200;