PointerSignalResolver class

An resolver for pointer signal events.

Objects interested in a PointerSignalEvent should register a callback to be called if they should handle the event. The resolver's purpose is to ensure that the same pointer signal is not handled by multiple objects in a hierarchy.

Pointer signals are immediate, so unlike a gesture arena it always resolves at the end of event dispatch. The first callback registered will be the one that is called.

Constructors

PointerSignalResolver()

Properties

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

register(PointerSignalEvent event, PointerSignalResolvedCallback callback) → void
Registers interest in handling event.
resolve(PointerSignalEvent event) → void
Resolves the event, calling the first registered callback if there was one. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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