smartDashesType property Null safety

SmartDashesType? smartDashesType
final

Whether to allow the platform to automatically format dashes.

This flag only affects iOS versions 11 and above, where it is equivalent to UITextSmartDashesType.

When set to SmartDashesType.enabled, it passes UITextSmartDashesTypeYes, and when set to SmartDashesType.disabled, it passes UITextSmartDashesTypeNo.

If set to null, SmartDashesType.enabled will be used.

As an example of what this does, two consecutive hyphen characters will be automatically replaced with one en dash, and three consecutive hyphens will become one em dash.

Defaults to null.

See also:

Implementation

final SmartDashesType? smartDashesType;