auto_hyphenating_text icon indicating copy to clipboard operation
auto_hyphenating_text copied to clipboard

Text align problem.

Open ahmetveysels opened this issue 3 years ago • 2 comments

puts hyphen where they shouldn't and textalign.justify doesn't work. Have a nice day! Thanx

ahmetveysels avatar Jan 19 '23 12:01 ahmetveysels

Can you provide an example?

impure avatar Jan 20 '23 05:01 impure

You use for each line an own TextSpan element. But TextAlign.justify only work in multiline elements.

Your code: texts.add(const TextSpan(text: "\n"));

https://api.flutter.dev/flutter/dart-ui/TextAlign.html

SonGoku85 avatar Jun 20 '23 06:06 SonGoku85