I need to add some space between the text and decoration line. Any one have anu suggestion on this?
I have set text-decoration line but it not shows space in between the text and decoration line.
like below image
Also, I have set boderBottom width. It shows in the entire screen
Unfortunately, you can't specify the space between the underline border and the text by using
Text
alone. But you can do it by wrapping it withView
.Just change the line-height to specify the space. Here is the output