isSmall property
If the device is a mobile.
Implementation
bool get isSmall => this == DeviceType.mobilePortrait || this == DeviceType.mobileLandscape;
If the device is a mobile.
bool get isSmall => this == DeviceType.mobilePortrait || this == DeviceType.mobileLandscape;