withFamily method

  1. @useResult
WidgetSelector<EditableText> withFamily(
  1. String? value
)

Creates a WidgetSelector that finds all EditableText where family equals (==) value.

Example usage:

spot<EditableText>().withFamily('foo').existsOnce();

Implementation

@useResult
WidgetSelector<EditableText> withFamily(String? value) {
  return withDiagnosticProp<String>(
      'family', (it) => value == null ? it.isNull() : it.equals(value));
}