mouseCursor property

MouseCursor? mouseCursor
final

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

If mouseCursor is a WidgetStateMouseCursor, WidgetStateProperty.resolve is used for the following WidgetState:

If null, then MouseCursor.defer is used when the button is disabled. When the button is enabled, SystemMouseCursors.click is used on Web and MouseCursor.defer is used on other platforms.

See also:

Implementation

final MouseCursor? mouseCursor;