customAction method

void customAction(
  1. FinderBase<SemanticsNode> finder,
  2. CustomSemanticsAction action
)

Performs a SemanticsAction.customAction action on the SemanticsNode found by finder.

Throws a StateError if:

Implementation

void customAction(finders.FinderBase<SemanticsNode> finder, CustomSemanticsAction action) {
  performAction(
    finder,
    SemanticsAction.customAction,
    args: CustomSemanticsAction.getIdentifier(action)
  );
}