Flutter RichText, add a prefix/suffix icon by regex pattern
How to add prefix/suffix icons to target text. For example, insert a phone icon before phone numbers or insert a flag icon before text ‘flag’. It is easy with EasyRichText Widget. EasyRichText(
  "Please contact us at +123456789. Here is a flag.",
  patternList: [
    EasyRichTextPattern(…
Flutter RichText, add a prefix/suffix icon by regex pattern How to add prefix/suffix icons to target text. For example, insert a phone icon before phone numbers or insert a flag icon before text ‘flag’. It is easy with EasyRichText Widget. EasyRichText(
  "Please contact us at +123456789. Here is a flag.",
  patternList: [
    EasyRichTextPattern(… flutter
Flutter RichText add prefixsuffix icon regex pattern add prefixsuffix icon target text example insert phone icon phone number insert flag icon text ‘flag’ easy EasyRichText Widget EasyRichText Please contact u 123456789 flag patternList EasyRichTextPattern… flutter