PointerRouter class

A routing table for PointerEvent events.

Constructors

PointerRouter()

Properties

debugGlobalRouteCount int
The number of global routes that have been registered.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addGlobalRoute(PointerRoute route, [Matrix4? transform]) → void
Adds a route to the global entry in the routing table.
addRoute(int pointer, PointerRoute route, [Matrix4? transform]) → void
Adds a route to the routing table.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeGlobalRoute(PointerRoute route) → void
Removes a route from the global entry in the routing table.
removeRoute(int pointer, PointerRoute route) → void
Removes a route from the routing table.
route(PointerEvent event) → void
Calls the routes registered for this pointer event.
toString() String
A string representation of this object.
inherited

Operators

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