2000calories / flutter_easy_rich_text

The EasyRichText widget provides an easy way to use RichText.
https://pub.dev/packages/easy_rich_text
MIT License
80 stars 33 forks source link

Enhancement request for converting EasyRichText to String post format #12

Closed swapnilkadam18 closed 3 years ago

swapnilkadam18 commented 3 years ago

EasyRichText cannot be type casted to string(plain text) to be used directly whereas RichText has option to convert the modified string to the plain text. Objective: Whenever we add superscript / subscript the output we get is a widget(EasyRichText) which cannot be used in where input type is String. Unicodes do help a lot but there are not unicodes for every character hence this library is perfect to avoid unicodes to almost 100%. Expected Output: Type casting for EasyRichText to String with sub/super script.

Sincere request.

2000calories commented 3 years ago

I use Transform widget inside EasyRichText and I did not find a solution to convert it to String. Actually, this is a problem trouble me from the beginning. As far as I know unicode is the only option to ouput String Type.