flattenedChildList property
Children list when fully expand any underlying TransparentNode
Implementation
late final List<GreenNode> flattenedChildList = children
.expand((child) =>
child is TransparentNode ? child.flattenedChildList : [child])
.toList(growable: false);