What is a Statelesswidget?

Stateless Widget: The widgets whose state can not be altered once they are built are called stateless widgets. These widgets are immutable once they are built i.e any amount of change in the variables, icons, buttons, or retrieving data can not change the state of the app.

Sizin İçin Seçtik  When should you use a stateful widget instead of a stateless widget?

Leave a Reply

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