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 I create a custom widget in flutter?

Leave a Reply

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