SystemMouseCursor class

A mouse cursor that is natively supported on the platform that the application is running on.

System cursors can be used without external resources, and their appearances match the experience of native apps. Examples of system cursors are a pointing arrow, a pointing hand, a double arrow for resizing, or a text I-beam, etc.

An instance of SystemMouseCursor refers to one cursor from each platform that represents the same concept, such as being text text, being clickable, or being a forbidden operation. Since the set of system cursors supported by each platform varies, multiple instances can correspond to the same system cursor.

SystemMouseCursors enumerates the complete set of system cursors supported by Flutter, which are hard-coded in the engine. Therefore, manually instantiating this class is not supported.



debugDescription String
A very short description of the mouse cursor. [...]
read-only, override
hashCode int
The hash code for this object. [...]
read-only, override
kind String
A string that identifies the kind of the cursor. [...]
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


createSession(int device) → _SystemMouseCursorSession
Associate a pointing device to this cursor. [...]
@protected, override
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toDiagnosticsNode({String name, DiagnosticsTreeStyle style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep. [...]
toString({DiagnosticLevel minLevel:}) String
Returns a string representation of this object.
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode. [...]


operator ==(dynamic other) bool
The equality operator. [...]