hasTextInputAction method

WidgetMatcher<TextField> hasTextInputAction(
  1. TextInputAction? value
)

Expects that textInputAction of TextField equals (==) value.

Example usage:

spot<TextField>().existsOnce().hasTextInputAction(TextInputAction.values.first);

Implementation

WidgetMatcher<TextField> hasTextInputAction(TextInputAction? value) {
  return hasDiagnosticProp<TextInputAction>('textInputAction',
      (it) => value == null ? it.isNull() : it.equals(value));
}