hasUndoControllerWhere method
Expects that undoController of TextField matches the condition in match
.
Example usage:
spot<TextField>().existsOnce().hasUndoControllerWhere((it) => it.equals(UndoHistoryController()));
Implementation
WidgetMatcher<TextField> hasUndoControllerWhere(
MatchProp<UndoHistoryController> match) {
return hasDiagnosticProp<UndoHistoryController>('undoController', match);
}