pointTransformer property Null safety

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.


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


set pointTransformer(PointTransformer transformer) {
  assert(transformer != null);
  _motionEventConverter._pointTransformer = transformer;