How do you change the size of the raised button 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”), ), );

Sizin İçin Seçtik  What can I use instead of a flat button flutter?

Leave a Reply

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