onHover property
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 this part of the button and false if a pointer has exited.
Implementation
final ValueChanged<bool>? onHover;