ancestor property
T
get
ancestor
A reference to an ancestor in the component tree.
Implementation
T get ancestor => _ancestor!;
A reference to an ancestor in the component tree.
T get ancestor => _ancestor!;