How do I adjust button size in flutter?

Raised buttons have a minimum size of 88.0 by 36.0 which can be overridden with ButtonTheme. So you can do it like the following: ButtonTheme( minWidth: 200.0, height: 100.0, child: RaisedButton( onPressed: () {}, child: Text(“test”), ), );6 Mar 2021

Sizin İçin Seçtik  How do you give a shadow to an elevated Button in Flutter?

Leave a Reply

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

How do I adjust button size in flutter?

Raised buttons have a minimum size of 88.0 by 36.0 which can be overridden with ButtonTheme. So you can do it like the following: ButtonTheme( minWidth: 200.0, height: 100.0, child: RaisedButton( onPressed: () {}, child: Text(“test”), ), );6 Mar 2021

Sizin İçin Seçtik  What is the fifth generation of mobile technology?

Leave a Reply

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