How to update value using Callbacks in FLutter for the given scenario?
I have a stateless Widget A and stateful widget B. A calls B (B is one of the children of A). A has a function inside widget D (D is also child of A) which needs C bool value to compare, which is set in B widget’s function. How do I propagate C from B to A?