cursor property Null safety

MouseCursor cursor
@protected, override

Returns the value of mouseCursor.

This field, required by MouseTrackerAnnotation, is hidden publicly to avoid the confusion as a text cursor.

Implementation

@protected
@override
MouseCursor get cursor => mouseCursor;