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