How do I change the height of a RaisedButton 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 put a border color on a flat button in flutter?

Leave a Reply

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

How do I change the height of a RaisedButton 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  Does JQ use JMESPath?

Leave a Reply

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