isPortrait property
bool
get
isPortrait
Returns true
if the current screen orientation is portrait.
Implementation
bool get isPortrait => orientation == Orientation.portrait;
Returns true
if the current screen orientation is portrait.
bool get isPortrait => orientation == Orientation.portrait;