MouseCursorManager class Null safety

Maintains the state of mouse cursors and manages how cursors are searched for.

This is typically created as a global singleton and owned by MouseTracker.

Constructors

MouseCursorManager(MouseCursor fallbackMouseCursor)
Create a MouseCursorManager by specifying the fallback cursor. [...]

Properties

fallbackMouseCursor MouseCursor
The mouse cursor to use if all cursor candidates choose to defer. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

debugDeviceActiveCursor(int device) MouseCursor?
Returns the active mouse cursor of a device. [...]
handleDeviceCursorUpdate(int device, PointerEvent? triggeringEvent, Iterable<MouseCursor> cursorCandidates) → void
Handles the changes that cause a pointer device to have a new list of mouse cursor candidates. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited