whereBackground method

  1. @useResult
WidgetSelector<EditableText> whereBackground(
  1. MatchProp<Paint> match
)

Creates a WidgetSelector that finds all EditableText where background matches the condition.

Example usage:

spot<EditableText>().whereBackground((it) => it.equals(Paint())).existsOnce();

Implementation

@useResult
WidgetSelector<EditableText> whereBackground(MatchProp<Paint> match) {
  return withDiagnosticProp<Paint>('background', match);
}