withKeyboardType method
Creates a WidgetSelector that finds all EditableText where keyboardType equals (==) value
.
Example usage:
spot<EditableText>().withKeyboardType(TextInputType.text).existsOnce();
Implementation
@useResult
WidgetSelector<EditableText> withKeyboardType(TextInputType? value) {
return withDiagnosticProp<TextInputType>(
'keyboardType', (it) => value == null ? it.isNull() : it.equals(value));
}