isLandscape static method

bool isLandscape()

Implementation

static bool isLandscape() => MediaQuery.of(navigatorKey.currentContext!).orientation == Orientation.landscape;