isLandscape method
Implementation
bool isLandscape(BuildContext context) {
return MediaQuery.of(context).orientation == Orientation.landscape;
}
bool isLandscape(BuildContext context) {
return MediaQuery.of(context).orientation == Orientation.landscape;
}