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.

Inheritance

Properties

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. [...]
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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