hitTest method
- @override
override
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
@override
void hitTest(HitTestResult result, Offset position) {
assert(renderView != null);
renderView.hitTest(result, position: position);
// This super call is safe since it will be bound to a mixed-in declaration.
super.hitTest(result, position); // ignore: abstract_super_member_reference
}