elementOf function

Element? elementOf(
  1. Widget widget
)

Returns the mounted Element associated with widget, if any.

Implementation

Element? elementOf(Widget widget) => _elementForWidget[widget];