androidScreenshots static method

List<Device> androidScreenshots({
  1. DeviceType type = DeviceType.phone,
})

Helper method to get screenshot configurations

Implementation

static List<Device> androidScreenshots({DeviceType type = DeviceType.phone}) {
  switch (type) {
    case DeviceType.phone:
      return [
        androidPhoneWide, // 16:9
        androidPhoneTall, // 18:9
        androidPhoneExtra, // 20:9
      ];
    case DeviceType.tablet:
      return [androidTablet]; // 16:10
    case DeviceType.tv:
      return [androidTV]; // 16:9
    default:
      return [androidPhoneTall]; // Default to common phone size
  }
}