withSmartDashesType method

  1. @useResult
WidgetSelector<EditableText> withSmartDashesType(
  1. SmartDashesType? value
)

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

Example usage:

spot<EditableText>().withSmartDashesType(SmartDashesType.values.first).existsOnce();

Implementation

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