currentWidget property

Widget? currentWidget

The Widget in the tree that has this Ref.

Implementation

Widget? get currentWidget => _currentNode?.widget;