formattedTextDefaultFormatters constant

List<FormattedTextFormatter> const formattedTextDefaultFormatters

Implementation

static const List<FormattedTextFormatter> formattedTextDefaultFormatters = [
  FormattedTextFormatter(
    patternChars: '*',
    style: TextStyle(fontWeight: FontWeight.bold),
  ),
  FormattedTextFormatter(
    patternChars: '_',
    style: TextStyle(fontStyle: FontStyle.italic),
  ),
  FormattedTextFormatter(
    patternChars: '~',
    style: TextStyle(decoration: TextDecoration.lineThrough),
  ),
  FormattedTextFormatter(
    patternChars: '#',
    style: TextStyle(decoration: TextDecoration.underline),
  ),
];