isDesktop property

bool get isDesktop

True if width maps to DeviceType.desktop.

Implementation

static bool get isDesktop => currentDeviceType == DeviceType.desktop;