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