pointTransformer property

PointTransformer pointTransformer

Converts a given point from the global coordinate system in logical pixels to the local coordinate system for this box.

This is required to convert a PointerEvent to an AndroidMotionEvent. It is typically provided by using RenderBox.globalToLocal.

Implementation

PointTransformer get pointTransformer => _motionEventConverter.pointTransformer;
void pointTransformer=(PointTransformer transformer)

Implementation

set pointTransformer(PointTransformer transformer) {
  _motionEventConverter.pointTransformer = transformer;
}