The cursor for a mouse pointer when it enters or is hovering over the widget.
If mouseCursor is a MaterialStateProperty<MouseCursor>, MaterialStateProperty.resolve is used for the following MaterialStates:
When value is null and tristate is true, MaterialState.selected is included as a state.
If null, then the value of CheckboxThemeData.mouseCursor is used. If that is also null, then MaterialStateMouseCursor.clickable is used.
- MaterialStateMouseCursor, a MouseCursor that implements
MaterialStatePropertywhich is used in APIs that need to accept either a MouseCursor or a MaterialStateProperty<MouseCursor>.
final MouseCursor? mouseCursor;