rebuildAllChildren static method

void rebuildAllChildren(
  1. BuildContext context
)

Marks all child widgets in the given context as widgets that need to be rebuilt in the post next frame.

Implementation

static void rebuildAllChildren(BuildContext context) {
  void rebuild(Element element) {
    element.markNeedsBuild();
    element.visitChildren(rebuild);
  }

  (context as Element).visitChildren(rebuild);
}