mouseCursor property

MaterialStateProperty<MouseCursor?>? mouseCursor
final

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:

If specified, overrides the default value of Switch.mouseCursor.

Implementation

final MaterialStateProperty<MouseCursor?>? mouseCursor;