longPress method

void longPress(
  1. FinderBase<SemanticsNode> finder
)

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

Throws a StateError if:

Implementation

void longPress(finders.FinderBase<SemanticsNode> finder) {
  performAction(finder, SemanticsAction.longPress);
}