setSemanticsActions method Null safety

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

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);
}