Closed giorgio79 closed 1 year ago
Any plans for having HTML as base text and adding tags on top of that? This would introduce another can of worms, eg matching across tags etc., but there are some nice solutions like https://github.com/padolsey/findAndReplaceDOMText
EasyRichText( "I want <span class="whatever">blue font. I want</span> bold font. I want italic font.", patternList: [ EasyRichTextPattern( targetString: 'want blue', style: TextStyle(color: Colors.blue), ), EasyRichTextPattern( targetString: 'bold', style: TextStyle(fontWeight: FontWeight.bold), ), EasyRichTextPattern( targetString: 'italic', style: TextStyle(fontStyle: FontStyle.italic), ), ], ),
Any plans for having HTML as base text and adding tags on top of that? This would introduce another can of worms, eg matching across tags etc., but there are some nice solutions like https://github.com/padolsey/findAndReplaceDOMText