Calls the routes registered for this pointer event.
Routes are called in the order in which they were added to the PointerRouter object.
Source
void route(PointerEvent event) { LinkedHashSet<PointerRoute> routes = _routeMap[event.pointer]; List<PointerRoute> globalRoutes = new List<PointerRoute>.from(_globalRoutes); if (routes != null) { for (PointerRoute route in new List<PointerRoute>.from(routes)) { if (routes.contains(route)) _dispatch(event, route); } } for (PointerRoute route in globalRoutes) { if (_globalRoutes.contains(route)) _dispatch(event, route); } }