How to indent if Text is softWrapped in Flutter

Viewed 3148

I'm working on an app that displays lyrics for several hymns in my native language. Each line of the hymn is an individual Text Widget. I want the text to indent if it got softWrapped if user increases the font size to indicate that its not the next line. How can I achieve this effect?

1 Answers

Adding one or more tab escape characters "\t" to your strings may do the trick for you:

          Text("\t this is a text string that will have an indentation",),
Related