hoveredWidget property
WidgetComponent?
get
hoveredWidget
The widget component the pointer is over (nearest hit, interaction mask passed), or null. While pressed this stays the captured surface.
Implementation
WidgetComponent? get hoveredWidget => _captured ?? _hovered;