flattenedChildList property

List<GreenNode> flattenedChildList
latefinal

Children list when fully expanded any underlying TransparentNode.

Implementation

late final List<GreenNode> flattenedChildList = children
    .expand((child) =>
        child is TransparentNode ? child.flattenedChildList : [child])
    .toList(growable: false);