Closed nawaf11 closed 1 year ago
Welcome, Many Thanks for the Library
I want to do styling in nested EasyRichTextPattern..
for Example any text between "" to be red, And {[..]} to be blue even if it found between "..", Check the image:
iI have this patternList:
patternList = [ EasyRichTextPattern(targetString: '"(.+?)"', style: TextStyle(color: darkRed)), EasyRichTextPattern(targetString: "(\\{\\[(\.+?)\\]\\})", style: TextStyle(color: primaryGreen)) ]
I hope there's a Plan to this enhancement 🙏🏻
It is a useful feature. But I have not find a way to implement it.
try the latest version. easy_rich_text: '^2.0.0'
easy_rich_text: '^2.0.0'
Welcome, Many Thanks for the Library
I want to do styling in nested EasyRichTextPattern..
for Example any text between "" to be red, And {[..]} to be blue even if it found between "..", Check the image:
iI have this patternList:
patternList = [ EasyRichTextPattern(targetString: '"(.+?)"', style: TextStyle(color: darkRed)), EasyRichTextPattern(targetString: "(\\{\\[(\.+?)\\]\\})", style: TextStyle(color: primaryGreen)) ]