whereKeyboardAppearance method

  1. @useResult
WidgetSelector<TextField> whereKeyboardAppearance(
  1. MatchProp<Brightness> match
)

Creates a WidgetSelector that finds all TextField where keyboardAppearance matches the condition.

Example usage:

spot<TextField>().whereKeyboardAppearance((it) => it.equals(Brightness.values.first)).existsOnce();

Implementation

@useResult
WidgetSelector<TextField> whereKeyboardAppearance(
    MatchProp<Brightness> match) {
  return withDiagnosticProp<Brightness>('keyboardAppearance', match);
}