availableDeviceIdentifiers static method
The list of all available device identifiers.
Implementation
static List<DeviceIdentifier> availableDeviceIdentifiers(
BuildContext context,
) {
final store = Provider.of<DevicePreviewStore>(context, listen: false);
return store.devices.map((info) => info.identifier).toList();
}