hitTestOnBinding method Null safety

  1. @override
HitTestResult hitTestOnBinding (
  1. Offset location
)
override

Forwards the given location to the binding's hitTest logic.

Implementation

@override
HitTestResult hitTestOnBinding(Offset location) {
  assert(location != null);
  location = binding.localToGlobal(location);
  return super.hitTestOnBinding(location);
}