mouseCursor property

MouseCursor? mouseCursor
final

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

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

If null, then the value of CheckboxThemeData.mouseCursor is used. If that is also null, then WidgetStateMouseCursor.clickable is used.

Implementation

final MouseCursor? mouseCursor;