setSemanticsActions method Null safety

  1. @override
  2. @protected
void setSemanticsActions(
  1. Set<SemanticsAction> actions
)
protected">@protectedoverride

Set the SemanticsActions that should be expose to the semantics tree.

Implementation

@override
@protected
void setSemanticsActions(Set<SemanticsAction> actions) {
  if (_gestureDetectorKey.currentState != null) {
    _gestureDetectorKey.currentState!.replaceSemanticsActions(actions);
  }
}