I'm kinda confused, I have been looking into state management with flutter recently and I was wondering what happens if a custom stateful widget is placed in a stateless widget, let's say widgetA (parent) is a stateless widget and it has a child WidgetB which is a stateful widget and another child WidgetC which is a stateless widget.
Now my questions are:
- if setState() is called from widgetB, are WidgetA, B, and C rebuilt?
- how does this compare to using different state Management techniques like State provider, stream builders, or Bloc?
- when to use setState()?
- is it smart to combine multiple State management techniques?
if you have external links or resources that can help me understand please provide them