Stateless widgets should not be managing their own states, which is what is happening right now. What needs to be done is instead of widgets themselves being created and modified by other widgets, their models need to be stored in memory, and everything is operated directly on their models.
Stateless widgets should not be managing their own states, which is what is happening right now. What needs to be done is instead of widgets themselves being created and modified by other widgets, their models need to be stored in memory, and everything is operated directly on their models.