Chapter 4 the IconButton

changing the state of our IconButton(heart) causes the entire screen to be redrawn, when trying to wrap it in RepaintBoundary, nothing gave why so or is it normal?