performRebuild method Null safety

  1. @override
void performRebuild()
override

Called by rebuild() after the appropriate checks have been made.

Implementation

@override
void performRebuild() {
  assert(() {
    _debugDoingBuild = true;
    return true;
  }());
  widget.updateRenderObject(this, renderObject);
  assert(() {
    _debugDoingBuild = false;
    return true;
  }());
  _dirty = false;
}