mouseCursor property Null safety

MouseCursor? mouseCursor
final

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

If mouseCursor is a MaterialStateProperty<MouseCursor>, MaterialStateProperty.resolve is used for the following MaterialStates:

If set to null, will default to

Implementation

final MouseCursor? mouseCursor;