isPortrait property
bool
get
isPortrait
Is portrait
Implementation
bool get isPortrait => MediaQuery.of(this).orientation == Orientation.portrait;
Is portrait
bool get isPortrait => MediaQuery.of(this).orientation == Orientation.portrait;