isPortrait property
bool
get
isPortrait
True when taller than wide.
Implementation
bool get isPortrait => MediaQuery.orientationOf(this) == Orientation.portrait;
True when taller than wide.
bool get isPortrait => MediaQuery.orientationOf(this) == Orientation.portrait;