deviceType property

UDeviceType get deviceType

phone, tablet, desktop, tv, watch, car or web. if (UApp.deviceType == UDeviceType.tablet) …

Implementation

static UDeviceType get deviceType => UDevice.type;