isLandscape property

bool get isLandscape

Whether the screen is in landscape orientation.

Implementation

bool get isLandscape => orientation == Orientation.landscape;