Why raised button is not working in flutter?

The solution is adding onPressed() property to RaisedButton. Because, if onPressed() property is not provided, even with the empty function, RaisedButton is considered as disabled .

Sizin İçin Seçtik  How do you make an outline button in Flutter?

Leave a Reply

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