isTabletOrLarger property
bool
get
isTabletOrLarger
Whether the current layout width class is DeviceSize.tablet or wider — the ordered "larger than mobile" threshold.
Equivalent to !isMobile, but reads as an ascending threshold rather than
a negation, mirroring the "the tablet value applies to tablet and larger"
semantics of responsive. Shorthand for isAtLeast(DeviceSize.tablet).
Reports the layout width class (window width), not the OS / device
platform — for "is this a phone OS?" use DevicePlatform.isMobile (see
isMobile).
Implementation
bool get isTabletOrLarger => isAtLeast(DeviceSize.tablet);