withSelectionEnabled method
Creates a WidgetSelector that finds all TextField where selectionEnabled equals (==) value
.
Example usage:
spot<TextField>().withSelectionEnabled(true).existsOnce();
Implementation
@useResult
WidgetSelector<TextField> withSelectionEnabled(bool? value) {
return withDiagnosticProp<bool>('selectionEnabled',
(it) => value == null ? it.isNull() : it.equals(value));
}