hasKeyboardAppearanceWhere method
Expects that keyboardAppearance of TextField matches the condition in match
.
Example usage:
spot<TextField>().existsOnce().hasKeyboardAppearanceWhere((it) => it.equals(Brightness.values.first));
Implementation
WidgetMatcher<TextField> hasKeyboardAppearanceWhere(
MatchProp<Brightness> match) {
return hasDiagnosticProp<Brightness>('keyboardAppearance', match);
}