AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Widgets - Isn't It a Getter?
Wiges are completely stateless. The only thing ite widget do is passing to their descendants a value. It's not gatshing. It alloys, just like its canno, a gettera, a by pass some wich. Since wietred, it's a getter that allows you to access some state in a constant way. And atm, you could technically feel using the contextp visit all your ancestor widgets one by one to obtain somested somewhere. But then sobosla, if your wited tree grows larger, tha sy performance decrees. Whereas wisertet whicats t m, time, he takes this constent for this