mouseCursor property

MouseCursor mouseCursor

Mouse cursor when the mouse hovers over this span.

The default value is if recognizer is not null, or MouseCursor.defer otherwise.

TextSpan itself does not implement hit testing or cursor changing. The object that manages the TextSpan painting is responsible to return the TextSpan in its hit test, as well as providing the correct mouse cursor when the TextSpan's mouse cursor is MouseCursor.defer.


final MouseCursor mouseCursor;