deviceType static method

DeviceScreensType deviceType(
  1. BuildContext context
)

returns the device type but first checks the device orientation before checking its width

Implementation

static DeviceScreensType deviceType(BuildContext context) {
  return getDeviceType(context);
}