isPortrait property
bool
get
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;