whereKeyboardType method

Creates a WidgetSelector that finds all EditableText where keyboardType matches the condition.

Example usage:

spot<EditableText>().whereKeyboardType((it) => it.equals(TextInputType.text)).existsOnce();

Implementation

@useResult
WidgetSelector<EditableText> whereKeyboardType(
    MatchProp<TextInputType> match) {
  return withDiagnosticProp<TextInputType>('keyboardType', match);
}