parentNodes property

List<Node<Widget>> get parentNodes

Implementation

List<Node> get parentNodes =>
    parentNode == null ? [] : [parentNode!, ...parentNode!.parentNodes];