onHover property

ValueChanged<bool>? onHover

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 material and false if a pointer has exited this part of the material.


final ValueChanged<bool>? onHover;