mouseCursor property
final
The cursor for a mouse pointer when it enters or is hovering over the widget.
If mouseCursor is a WidgetStateMouseCursor, WidgetStateProperty.resolve is used for the following WidgetState:
If null, then MouseCursor.defer is used when the button is disabled. When the button is enabled, SystemMouseCursors.click is used on Web and MouseCursor.defer is used on other platforms.
See also:
- WidgetStateMouseCursor, a MouseCursor that implements WidgetStateProperty which is used in APIs that need to accept either a MouseCursor or a WidgetStateProperty.
Implementation
final MouseCursor? mouseCursor;