hitTest method Null safety
- HitTestResult result,
- Offset position
Check whether the given position hits this object.
If this given position hits this object, consider adding a HitTestEntry to the given hit test result.
Implementation
void hitTest(HitTestResult result, Offset position);