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

adding dollor sign ($) for target string dont work #32

Closed sianami closed 2 years ago

sianami commented 2 years ago

hi when i add dollor sign ($) to end of string it doesnt work without $ works fine how change style of $ too? targetString: '${userData['invoiceAll']\$}',

and i think styles didn't effect on list variables this var has a list of numbers that show but arent red EasyRichTextPattern( targetString: '${userData['numbers']}', style: TextStyle(fontSize: 20, color: Colors.red), ),

2000calories commented 2 years ago

Have you try set hasSpecialCharacters: true ?

sianami commented 2 years ago

Have you try set hasSpecialCharacters: true ?

sorry, I haven't seen this option issue fixed thanks