mouseCursor property

MouseCursor? mouseCursor
final

The cursor for a mouse pointer when it enters or is hovering over the button.

If mouseCursor is a WidgetStateProperty<MouseCursor>, WidgetStateProperty.resolve is used for the following WidgetStates:

If this property is null, WidgetStateMouseCursor.clickable will be used.

Implementation

final MouseCursor? mouseCursor;