hasTextInputActionWhere method

WidgetMatcher<TextField> hasTextInputActionWhere(
  1. MatchProp<TextInputAction> match
)

Expects that textInputAction of TextField matches the condition in match.

Example usage:

spot<TextField>().existsOnce().hasTextInputActionWhere((it) => it.equals(TextInputAction.values.first));

Implementation

WidgetMatcher<TextField> hasTextInputActionWhere(
    MatchProp<TextInputAction> match) {
  return hasDiagnosticProp<TextInputAction>('textInputAction', match);
}