currentWidget property

Widget? get currentWidget

The Widget in the tree that has this Ref.

Implementation

Widget? get currentWidget => _currentNode?.widget;