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