2000calories / flutter_easy_rich_text

The EasyRichText widget provides an easy way to use RichText.
https://pub.dev/packages/easy_rich_text
MIT License
80 stars 33 forks source link

[Feature Request] Add default pattern #56

Closed guenth39 closed 6 months ago

guenth39 commented 7 months ago

I would love to see some default pattern that can be enabled for easy things like bold and italic.

So your bold example could then look like:

///WhatsApp like text formatter
EasyRichText(
  "TEST *bold font*. test *boldfont*.",
  patternList: [
    ///bold font
    EasyRichTextPatterns.bold(),
  ],
),
2000calories commented 7 months ago

This is a good suggestion.