mouseCursor property
final
The cursor for a mouse pointer when it enters or is hovering over the button.
If mouseCursor is a WidgetStateMouseCursor, WidgetStateProperty.resolve is used for the following WidgetStates:
If set to null, will default to SystemMouseCursors.basic if onPressed is null, otherwise WidgetStateMouseCursor.adaptiveClickable.
Implementation
final MouseCursor? mouseCursor;