isLandscape property

bool isLandscape

shortcut for MediaQuery.of(context).orientation == Orientation.landscape

Implementation

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