performRebuild method
Calls the StatelessWidget.build method of the StatelessWidget object (for stateless widgets) or the State.build method of the State object (for stateful widgets) and then updates the widget tree.
Called automatically during mount to generate the first build, and by rebuild when the element needs updating.
Implementation
@override
void performRebuild() {
super.performRebuild();
if (state is ExtendedState) {
(state as ExtendedState).afterBuild();
}
}