hasUndoController method
Expects that undoController of TextField equals (==) value
.
Example usage:
spot<TextField>().existsOnce().hasUndoController(UndoHistoryController());
Implementation
WidgetMatcher<TextField> hasUndoController(UndoHistoryController? value) {
return hasDiagnosticProp<UndoHistoryController>('undoController',
(it) => value == null ? it.isNull() : it.equals(value));
}