isLandscape property

bool get isLandscape

True when the screen is wider than it is tall.

Implementation

bool get isLandscape =>
    MediaQuery.orientationOf(this) == Orientation.landscape;