setSemanticsActions method

  1. @override
  2. @protected
void setSemanticsActions(
  1. Set<SemanticsAction> actions
)
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);
  }
}