ancestor property

T ancestor

A reference to an ancestor in the component tree.

Implementation

T get ancestor => _ancestor!;