performRebuild method

  1. @override
void performRebuild()
override

Cause the widget to update itself.

Called by rebuild after the appropriate checks have been made.

The base implementation only clears the dirty flag.

Implementation

@override
void performRebuild() {
  super.performRebuild();
  // Children list is updated during layout since we only know during layout
  // which children will be visible
  renderObject.markNeedsLayout();
}