isPhone property

bool get isPhone

Whether the screen type is ScreenType.phone.

Implementation

bool get isPhone => (screenType == ScreenType.phone);