isPortrait property

bool get isPortrait

Is portrait

Implementation

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