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