whereExpands method
Creates a WidgetSelector that finds all TextField where expands matches the condition.
Example usage:
spot<TextField>().whereExpands((it) => it.isTrue()).existsOnce();
Implementation
@useResult
WidgetSelector<TextField> whereExpands(MatchProp<bool> match) {
return withDiagnosticProp<bool>('expands', match);
}