How do you call setState from a child’s widget?

You just need to add a field to child widget then in parent widget change value of that field and call setState() .

Sizin İçin Seçtik  How many types of widget are in Flutter?

Leave a Reply

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