smartQuotesType property

SmartQuotesType? smartQuotesType
final

Whether to allow the platform to automatically format quotes.

This flag only affects iOS. It sets UITextSmartQuotesType in the engine. When true, it passes UITextSmartQuotesTypeYes, and when false, it passes UITextSmartQuotesTypeNo.

As an example of what this does, a standard vertical double quote character will be automatically replaced by a left or right double quote depending on its position in a word.

Defaults to true, unless obscureText is true, when it defaults to false. This is to avoid the problem where password fields receive autoformatted characters.

See also:

Implementation

final SmartQuotesType? smartQuotesType;