This method is called after rebuilds and always passes in the old widget as an argument . This gives you a chance to check if Flutter should rebuild or not. For example, if your new widget is rebuilt with the same data, then there’s no need to make Flutter do the expensive work.