hasSmartDashesType method

WidgetMatcher<TextField> hasSmartDashesType(
  1. SmartDashesType? value
)

Expects that smartDashesType of TextField equals (==) value.

Example usage:

spot<TextField>().existsOnce().hasSmartDashesType(SmartDashesType.values.first);

Implementation

WidgetMatcher<TextField> hasSmartDashesType(SmartDashesType? value) {
  return hasDiagnosticProp<SmartDashesType>('smartDashesType',
      (it) => value == null ? it.isNull() : it.equals(value));
}