performRebuild method Null safety

  1. @protected
  2. @mustCallSuper
void performRebuild()

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

@protected
@mustCallSuper
void performRebuild() {
  _dirty = false;
}