diff --git a/packages/flutter_tools/lib/src/emulator.dart b/packages/flutter_tools/lib/src/emulator.dart index c72efed436..81bbe2aa65 100644 --- a/packages/flutter_tools/lib/src/emulator.dart +++ b/packages/flutter_tools/lib/src/emulator.dart @@ -123,11 +123,14 @@ abstract class Emulator { } // Join columns into lines of text + final RegExp whiteSpaceAndDots = new RegExp(r'[•\s]+$'); return table.map((List row) { return indices .map((int i) => row[i].padRight(widths[i])) - .join(' • ') + (row.last != '' ? ' • ${row.last}' : ''); - }).toList(); + .join(' • ') + ' • ${row.last}'; + }) + .map((String line) => line.replaceAll(whiteSpaceAndDots, '')) + .toList(); } static void printEmulators(List emulators) {