setText method

void setText(
  1. FinderBase<SemanticsNode> finder,
  2. String text
)

Performs a SemanticsAction.setText action on the SemanticsNode found by finder using the given text.

Throws a StateError if:

Implementation

void setText(finders.FinderBase<SemanticsNode> finder, String text) {
  performAction(finder, SemanticsAction.setText, args: text);
}