fix bad indentation (#41263)
This commit is contained in:
committed by
GitHub
parent
c81c78f828
commit
9c6f11d5d1
@@ -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<String> _wordWrapLine(String message, List<int> wrapRanges, int width, { int startOffset = 0, int otherLineOffset = 0}) sync* {
|
||||
static Iterable<String> _wordWrapLine(String message, List<int> 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}',
|
||||
|
||||
Reference in New Issue
Block a user