Closed DenchikBY closed 3 years ago
Can be used for example in my specific case to replace pattern string ***[string]*** with highlighted string.
***[string]***
string
EasyRichTextPattern( targetString: RegExp(r'\*{3}\[(.+?)\]\*{3}'), matchBuilder: (BuildContext context, RegExpMatch match) { return TextSpan( text: match[1], style: _questionTextHighlightMissesStyle, ); }, ),
Can be used for example in my specific case to replace pattern string
***[string]***
with highlightedstring
.