lokesh paladugula
lokesh paladugula

Reputation: 763

how to SetState the child class from parent class in flutter

i want to set the state of child class ( Stateful ) from parent class ( statefull ) in flutter

Upvotes: 0

Views: 81

Answers (1)

user12706327
user12706327

Reputation:

In flutter, anytime you call setState in a widget, it automatically rebuilds all the children. Therefore, all you need to do is call setState in the parent widget

Upvotes: 1

Related Questions