isTablet property
bool
get
isTablet
Whether the current layout width class is DeviceSize.tablet.
Reports the layout width class (a medium-width window) derived from the ResponsiveScope — not the OS / device platform (see DevicePlatform).
Implementation
bool get isTablet => deviceSize == DeviceSize.tablet;