isTablet method
True if current device is a tablet.
Implementation
bool isTablet() {
final DeviceType deviceType = getDeviceType();
return deviceType == DeviceType.tabletLandscape || deviceType == DeviceType.tabletPortrait;
}
True if current device is a tablet.
bool isTablet() {
final DeviceType deviceType = getDeviceType();
return deviceType == DeviceType.tabletLandscape || deviceType == DeviceType.tabletPortrait;
}