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 this property is null, MaterialStateMouseCursor.clickable will be used.

Implementation

final MouseCursor? mouseCursor;