isMobile property

bool get isMobile

True if width maps to DeviceType.mobile.

Implementation

static bool get isMobile => currentDeviceType == DeviceType.mobile;