isPortrait property
bool
isPortrait
Check if device is on portrait mode
Implementation
bool get isPortrait => orientation == Orientation.portrait;
Check if device is on portrait mode
bool get isPortrait => orientation == Orientation.portrait;