isSmall property

bool get isSmall

If the device is a mobile.

Implementation

bool get isSmall => this == DeviceType.mobilePortrait || this == DeviceType.mobileLandscape;