isLandscape static method
Whether the screen is wider than it is tall.
Implementation
static bool isLandscape(BuildContext context) =>
MediaQuery.orientationOf(context) == Orientation.landscape;
Whether the screen is wider than it is tall.
static bool isLandscape(BuildContext context) =>
MediaQuery.orientationOf(context) == Orientation.landscape;