BoxHitTest typedef Null safety
Method signature for hit testing a RenderBox.
Used by BoxHitTestResult.addWithPaintTransform to hit test children of a RenderBox.
See also:
- RenderBox.hitTest, which documents more details around hit testing RenderBoxes.
Implementation
typedef BoxHitTest = bool Function(BoxHitTestResult result, Offset position);