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 WidgetStates:

When value is null and tristate is true, WidgetState.selected is included as a state.

If null, then SystemMouseCursors.basic is used when this checkbox is disabled. When the checkbox is enabled, SystemMouseCursors.click is used on Web, and SystemMouseCursors.basic is used on other platforms.

See also:

Implementation

final MouseCursor? mouseCursor;