onHover property

ValueChanged<bool>? onHover
final

Called when a pointer enters or exits the button response area.

The value passed to the callback is true if a pointer has entered button area and false if a pointer has exited.

Implementation

final ValueChanged<bool>? onHover;