formatSeparator property

String? formatSeparator
final

interpolationPrefix and interpolationSuffix are the deliminators for the variable interpolation and formatting mechanism. By default they are '{{' and '}}' respectively and can't be null but can be empty.

formatSeparator is used to separate the variable's name from the format (if any). Defaults to ',' and cannot be null nor empty (otherwise it'll match every char in the interpolation).

  • '{{title}}'
  • '{{some.variable.name}}'
  • '{{some.variable.name, format1, format2}}'
  • '{{some.variable.name, format(option: value)}}'

Implementation

final String? interpolationPrefix, interpolationSuffix, formatSeparator;