withTextInputAction method

  1. @useResult
WidgetSelector<TextField> withTextInputAction(
  1. TextInputAction? value
)

Creates a WidgetSelector that finds all TextField where textInputAction equals (==) value.

Example usage:

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

Implementation

@useResult
WidgetSelector<TextField> withTextInputAction(TextInputAction? value) {
  return withDiagnosticProp<TextInputAction>('textInputAction',
      (it) => value == null ? it.isNull() : it.equals(value));
}