HitTester typedef Null safety

HitTester = HitTestResult Function(Offset location)

Signature for callbacks that perform hit-testing at a given location.

Implementation

typedef HitTester = HitTestResult Function(Offset location);