HitTester typedef Null safety

HitTestResult HitTester(
  1. Offset location
)

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

Implementation

typedef HitTester = HitTestResult Function(Offset location);