isTablet property

bool isTablet

Returns true if the device indicates it is a tablet.

See ResponsiveWidget.getDeviceType

Implementation

bool get isTablet =>
    ResponsiveWidget.getDeviceType(this) == DeviceScreenType.Tablet;