Refactor RenderObject.toStringDeep and Widget.toStringDeep code to use DiagnosticsNode (#11359)

Refactor RenderObject.toStringDeep and Widget.toStringDeep code to use DiagnosticsNode.
This commit is contained in:
Jacob Richman
2017-07-25 09:25:13 -07:00
committed by GitHub
parent 5278588d80
commit 9f510ebdc9
94 changed files with 4610 additions and 1491 deletions

View File

@@ -102,10 +102,10 @@ class _StatusBarPaddingSliver extends SingleChildRenderObjectWidget {
}
@override
void debugFillDescription(List<String> description) {
super.debugFillDescription(description);
description.add('maxHeight: $maxHeight');
description.add('scrollFactor: $scrollFactor');
void debugFillProperties(List<DiagnosticsNode> description) {
super.debugFillProperties(description);
description.add(new DoubleProperty('maxHeight', maxHeight));
description.add(new DoubleProperty('scrollFactor', scrollFactor));
}
}