I want to change the position of the text in this ElevatedButton, how to make it from the center to the right or left
I tried using the TextAlign but it didn’t work…
I want to change the position of the text in this ElevatedButton, how to make it from the center to the right or left
I tried using the TextAlign but it didn’t work…
2
Answers
It's fine I found a solution...
You can use something like this:
You can specify
style
forbutton
and make neededpadding
.Like in the example below I set
padding
from the left 16 and from the right 0.Result can see in the image below