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