hitTestBehavior property Null safety

void hitTestBehavior=(PlatformViewHitTestBehavior value)
inherited

How to behave during hit testing.

Implementation

// Changing _hitTestBehavior might affect which objects are considered hovered over.
set hitTestBehavior(PlatformViewHitTestBehavior value) {
  if (value != _hitTestBehavior) {
    _hitTestBehavior = value;
    if (owner != null) {
      markNeedsPaint();
    }
  }
}