From 9c6f11d5d1c6f39100ee6fd3c759ab449d4cc943 Mon Sep 17 00:00:00 2001 From: Alexandre Ardhuin Date: Wed, 25 Sep 2019 20:24:57 +0200 Subject: [PATCH] fix bad indentation (#41263) --- packages/flutter/lib/src/foundation/diagnostics.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/flutter/lib/src/foundation/diagnostics.dart b/packages/flutter/lib/src/foundation/diagnostics.dart index 3e12b10bd3..f3c3513958 100644 --- a/packages/flutter/lib/src/foundation/diagnostics.dart +++ b/packages/flutter/lib/src/foundation/diagnostics.dart @@ -866,7 +866,7 @@ class _PrefixedStringBuilder { /// /// This method wraps a sequence of text where only some spans of text can be /// used as wrap boundaries. - static Iterable _wordWrapLine(String message, List wrapRanges, int width, { int startOffset = 0, int otherLineOffset = 0}) sync* { + static Iterable _wordWrapLine(String message, List wrapRanges, int width, { int startOffset = 0, int otherLineOffset = 0}) sync* { if (message.length + startOffset < width) { // Nothing to do. The line doesn't wrap. yield message; @@ -1290,8 +1290,7 @@ class TextTreeRenderer { if (!propertyRender.endsWith('\n')) builder.write('\n'); } - } else - { + } else { final String propertyRender = render(property, prefixLineOne: '${builder.prefixOtherLines}${propertyStyle.prefixLineOne}', prefixOtherLines: '${builder.prefixOtherLines}${propertyStyle.childLinkSpace}${propertyStyle.prefixOtherLines}',