We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I add a MatchText to ParsedText's parse. but I want copy it. but cant't copy text from renderWidget.
return MatchText( pattern: TextEntity.emoPattern.pattern, renderWidget: ({text, pattern}) { Widget child = Text('$text '); if (text.startsWith('[') && text.endsWith(']') && text.length >= 3) { final content = text.substring(1, text.length - 1).replaceAll(nullChar, ''); if (EmoUtil.instance.allEmoMap[content] != null) { final Widget emoji = EmoUtil.instance.getEmoIcon(content, size: fontSize); child = Padding( padding: fontSize == 48 ? const EdgeInsets.fromLTRB(2, 4, 2, 4) : const EdgeInsets.fromLTRB(2, 2, 2, 2), child: emoji, ); } } return child; });
The text was updated successfully, but these errors were encountered:
@chifandeyu Did you try making param selectable = true of ParsedText Widget ?
selectable = true
Sorry, something went wrong.
If you need more custom configuration then toolbarOptions param is missing for which I've raised request ref PR
toolbarOptions
Hello, i have selectable true and im getting this [obj] too. How can toolbarOptions solve this?
@fayeed Could we expect this issue to be solved in near future?
No branches or pull requests
I add a MatchText to ParsedText's parse. but I want copy it. but cant't copy text from renderWidget.
Capturer_video_20220610_161930_905.mp4
The text was updated successfully, but these errors were encountered: