isLandscape method
True if device orientation is landscape.
Implementation
bool isLandscape() => MediaQuery.of(this).orientation == Orientation.landscape;
True if device orientation is landscape.
bool isLandscape() => MediaQuery.of(this).orientation == Orientation.landscape;