onHover property

ValueChanged<bool>? onHover
final

Callback invoked when the button's hover state changes.

Called with true when the pointer enters the button area and false when it leaves. Useful for implementing custom hover effects or updating external state.

Implementation

final ValueChanged<bool>? onHover;