isTablet static method
Checks if the device is a tablet (based on screen size).
Returns true if the device is considered a tablet, false otherwise.
Example:
bool isTablet = EaseDevice.isTablet();
Implementation
static bool isTablet() {
final screenSize = getScreenSize();
final diagonalSize =
sqrt(pow(screenSize.width, 2) + pow(screenSize.height, 2));
return diagonalSize >=
7.0; // Assuming devices with diagonal size >= 7.0 inches are tablets
}