hierarchy method
Converts layout's hierarchical structure to a debug String.
Implementation
@override
String hierarchy(
{bool indexInfo = false,
bool levelInfo = false,
bool hasParentInfo = false,
bool nameInfo = false}) {
String str = super.hierarchy(
indexInfo: indexInfo,
levelInfo: levelInfo,
hasParentInfo: hasParentInfo) +
'(';
for (int i = 0; i < _children.length; i++) {
if (i > 0) {
str += ',';
}
str += _children[i].hierarchy(
levelInfo: levelInfo,
hasParentInfo: hasParentInfo,
indexInfo: indexInfo,
nameInfo: nameInfo);
}
str += ')';
return str;
}