PointTransformer typedef Null safety

PointTransformer = Offset Function(Offset position)

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

Used by AndroidViewController.pointTransformer.

Implementation

typedef PointTransformer = Offset Function(Offset position);