currentWidget property

Widget? get currentWidget

Retrieves the Widget configuration registered with this key.

Implementation

Widget? get currentWidget => _registry[this]?.widget;