What is state of a widget?

State is information that (1) can be read synchronously when the widget is built and (2) might change during the lifetime of the widget . It is the responsibility of the widget implementer to ensure that the State is promptly notified when such state changes, using State.

Sizin İçin Seçtik  Why do you need to call setState (() }) in a StatefulWidget when changing some internal data )?

Leave a Reply

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