selectedDevice static method

DeviceInfo selectedDevice(
  1. BuildContext context
)

The currently selected device.

Implementation

static DeviceInfo selectedDevice(BuildContext context) {
  return context.select(
    (DevicePreviewStore store) => store.deviceInfo,
  );
}