New issue
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
Need help with making WhatsApp like formatting / italic / bold / underline #22
Comments
Need double
|
@2000calories that was the first thing I did but I keep getting this error The following FormatException was thrown building EasyRichText(dirty): |
can you show your |
@2000calories Doctor summary (to see all details, run flutter doctor -v): • No issues found! |
OK, I found a bug when using multiple WhatsApp-like EasyRichTextPattern, I will fix it soon. |
@2000calories do keep me posted please prompt fix would be very well appreciated |
@officialFlutterDeveloper
|
@2000calories did not work for me |
try the following example
|
@2000calories worked perfectly well done! |
I published a new version.
|
is it possible I can use the text changing in textfield? just like how WhatsApp does ? so people can play around before they even send it |
i think you cannot use |
With extend this one anyone please help me to implement both at a time like *_Bold Plus Italic_* |
This also resolve it's just a matter or regex it's very good package for use formatting
|
im trying to get bold and italic and underline formatting like WhatsApp and im using the following but im getting no result
patternList: [
///bold font
EasyRichTextPattern(
targetString: '()(.?)()',
matchBuilder:
(BuildContext context, RegExpMatch match) {
print(match[0]);
return TextSpan(
text: match[0].replaceAll('', ''),
style:
TextStyle(fontWeight: FontWeight.bold),
);
},
),
the other text turns black idk why when default color is white could you help me out
The text was updated successfully, but these errors were encountered: