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 add Icons on 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  How do you position a button in center flutter?

Leave a Reply

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