2000calories / flutter_easy_rich_text

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

[Feature Request] Add default pattern #56

Closed guenth39 closed 5 months ago

guenth39 commented 6 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 6 months ago

This is a good suggestion.