hasKeyboardTypeWhere method
Expects that keyboardType of TextField matches the condition in match
.
Example usage:
spot<TextField>().existsOnce().hasKeyboardTypeWhere((it) => it.equals(TextInputType.text));
Implementation
WidgetMatcher<TextField> hasKeyboardTypeWhere(
MatchProp<TextInputType> match) {
return hasDiagnosticProp<TextInputType>('keyboardType', match);
}