isPortrait property

bool get isPortrait

Implementation

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