Callback for pointer up/move/down events
typedef TouchPointerCallback = void Function(int pointerId, Point<num> pos);