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