mouseCursor property
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 the value of CheckboxThemeData.mouseCursor is used. If that is also null, then WidgetStateMouseCursor.clickable is used.
See also:
- WidgetStateMouseCursor, a MouseCursor that implements
WidgetStateProperty
which is used in APIs that need to accept either a MouseCursor or a WidgetStateProperty<MouseCursor>.
Implementation
final MouseCursor? mouseCursor;