andyduke / styled_text_package

Text widget with formatted text using tags. Makes it easier to use formatted text in multilingual applications.
https://pub.dev/packages/styled_text
BSD 3-Clause "New" or "Revised" License
75 stars 48 forks source link

MultiLine Support #7

Closed Dri27 closed 4 years ago

Dri27 commented 4 years ago

Hey! This Widget is awesome <3

I am formatting a loooong text, with lots of new lines... and I am aware that I have to use the breaking tags for new lines, but I was wondering if you could add an option like 'multiLine: true' or something like that, so that we don't have to deal with new lines on multiline strings.

It's just a suggestion for this widget, I don't even know if that's possible, but I hope so! Thank you for your work, it's very useful ^^

andyduke commented 4 years ago

Yes, that might be helpful. I will try to do this soon.

andyduke commented 4 years ago

@Dri27 Implemented as an isNewLineAsBreaks parameter.