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