isSmallScreenAndOnLandscape static method

bool isSmallScreenAndOnLandscape({
  1. required BuildContext context,
})

Implementation

static bool isSmallScreenAndOnLandscape({required BuildContext context}) {
  if (isLandscape(context: context) &&
      getDeviceType(context) == DeviceScreensType.Mobile) {
    return true;
  }
  return false;
}