How do you add padding to text button in Flutter?

In Flutter, you can provide padding property to Button widget. To provide padding to Button, assign the padding property with EdgeInsets object . The following code snippet applies padding of 30 to all the four sides of the button. padding: EdgeInsets.

Sizin İçin Seçtik  How do you put color in elevated Button in Flutter?

Leave a Reply

Your email address will not be published. Required fields are marked *

How do you add padding to text button in Flutter?

In Flutter, you can provide padding property to Button widget. To provide padding to Button, assign the padding property with EdgeInsets object . The following code snippet applies padding of 30 to all the four sides of the button. padding: EdgeInsets.

Sizin İçin Seçtik  Is Swift worth learning?

Leave a Reply

Your email address will not be published. Required fields are marked *