onHover method
Adds a handler for hover events to this widget in Arcane UI.
Calls action with boolean state (true on enter, false on exit) for effects in IconButton
or Tile. Lightweight, integrates ArcaneTheme for hover styles and Semantics for announcements.
Efficient for desktop/web hover feedback without rebuilds.
Example in CardSection:
Tile(child: Text("Hover me")).onHover((hovering) => setState(() => _hovered = hovering))
Returns the wrapped Widget.
Implementation
Widget onHover(void Function(bool hovering) action) =>
OnHover(action: action, child: this);