Flutter - Text align justify with no half filled lines

153 views Asked by At

I'm building a Quran app where I want all pages to have fully filled lines

I tried to use TextAlign.justify and it kinda helped and got this output from it: enter image description here

The problem is that the last line is not filled all the way out like this for example: enter image description here

I tried to use TextPainter but it removed the onTapGestureRecognizer. How can I get such an output without removing the tap capability? I also tried line and letter spacing but didn't work too.

0

There are 0 answers