performRebuild method
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() { // ignore: must_call_super, _performRebuild calls super.
_performRebuild(); // calls widget.updateRenderObject()
}