isLandscape property

bool get isLandscape

True when wider than tall.

Implementation

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