You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we us special characters in EasyRichText as Target String like ~|[]{}#%^*+=_|<>$£€•.,?!’ it crashes & fires below mentioned exception.
Please refer screenshot from your example app only.
///GestureRecognizer, not working when superscript, subscript, or urlType is set.
///TapGestureRecognizer, MultiTapGestureRecognizer, etc.
EasyRichText(
"Tap recognizer to print this sentence.~|[]{}#%^*+=_\|<>\$£€•.,?!’",
patternList: [
EasyRichTextPattern(
targetString: '~|[]{}#%^*+=_\|<>\$£€•.,?!’',
recognizer: TapGestureRecognizer()
..onTap = () {
print("Tap recognizer to print this sentence.");
},
style: TextStyle(
decoration: TextDecoration.underline,
),
),
],
),
════════ Exception caught by widgets library ═══════════════════════════════════
The following FormatException was thrown building EasyRichText(dirty, dependencies: [DefaultTextStyle]):
Lone quantifier brackets((?<!\w)~|[]{}#%^*+=_|<>$£€•.,?!’(?!\w))
The text was updated successfully, but these errors were encountered:
@2000calories :
When we us special characters in EasyRichText as Target String like ~|[]{}#%^*+=_|<>$£€•.,?!’ it crashes & fires below mentioned exception.
Please refer screenshot from your example app only.
════════ Exception caught by widgets library ═══════════════════════════════════
The following FormatException was thrown building EasyRichText(dirty, dependencies: [DefaultTextStyle]):
Lone quantifier brackets((?<!\w)~|[]{}#%^*+=_|<>$£€•.,?!’(?!\w))
The text was updated successfully, but these errors were encountered: