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 change the border color of a material 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  How do you color an elevated Button in Flutter?

Leave a Reply

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