mouseCursor property
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:
- WidgetStateMouseCursor, a MouseCursor that implements WidgetStateProperty which is used in APIs that need to accept either a MouseCursor or a WidgetStateProperty.
Implementation
final MouseCursor? mouseCursor;