BoxHitTest typedef

BoxHitTest = bool Function(BoxHitTestResult result, Offset position)

Method signature for hit testing a RenderBox.

Used by BoxHitTestResult.addWithPaintTransform to hit test children of a RenderBox.

See also:

Implementation

typedef BoxHitTest = bool Function(BoxHitTestResult result, Offset position);