If you call setState() on WidgetB it’ll rebuild itself and it’s descendants, no matter if they are Stateless or Stateful Widgets.
If you call setState() on WidgetB it’ll rebuild itself and it’s descendants, no matter if they are Stateless or Stateful Widgets.