flutter devices indicate which are simulators (#6200)

This commit is contained in:
Dan Rubel
2016-10-04 13:07:42 -04:00
committed by GitHub
parent 38533ac8b7
commit 55bc771f58

View File

@@ -249,6 +249,8 @@ abstract class Device {
return devices.map((Device device) {
String supportIndicator = device.isSupported() ? '' : ' (unsupported)';
if (device.isLocalEmulator)
supportIndicator += ' • simulator';
return '${device.name.padRight(nameWidth)} • '
'${device.id.padRight(idWidth)} • '
'${getNameForTargetPlatform(device.platform)}$supportIndicator';