whereExpands method

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

Example usage:

spot<EditableText>().whereExpands((it) => it.isTrue()).existsOnce();

Implementation

@useResult
WidgetSelector<EditableText> whereExpands(MatchProp<bool> match) {
  return withDiagnosticProp<bool>('expands', match);
}