hasKeyboardAppearanceWhere method

WidgetMatcher<TextField> hasKeyboardAppearanceWhere(
  1. MatchProp<Brightness> match
)

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);
}