isPhone method
True if current device is a phone.
Implementation
bool isPhone() {
final DeviceType deviceType = getDeviceType();
return deviceType == DeviceType.phoneLandscape || deviceType == DeviceType.phonePortrait;
}
True if current device is a phone.
bool isPhone() {
final DeviceType deviceType = getDeviceType();
return deviceType == DeviceType.phoneLandscape || deviceType == DeviceType.phonePortrait;
}