PointerRouter class Null safety

A routing table for PointerEvent events.

Constructors

PointerRouter()

Properties

debugGlobalRouteCount int
The number of global routes that have been registered. [...]
read-only
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

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 non-existent 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