isTabletPortrait property
bool
isTabletPortrait
Whether the app is running on a tablet in portrait mode (or a large phone).
Implementation
bool get isTabletPortrait => windowType == AdaptiveWindowType.small;