withSelectionControls method
Creates a WidgetSelector that finds all SelectableText where selectionControls equals (==) value
.
Example usage:
spot<SelectableText>().withSelectionControls(MaterialTextSelectionControls()).existsOnce();
Implementation
@useResult
WidgetSelector<SelectableText> withSelectionControls(
TextSelectionControls? value) {
return withDiagnosticProp<TextSelectionControls>('selectionControls',
(it) => value == null ? it.isNull() : it.equals(value));
}