isTablet property

bool get isTablet

Check if the device is tablet-sized (shortestSide ≥ 600)

Example: context.isTablet

Implementation

bool get isTablet => shortestSide >= 600;