I already opened a separate thread about this as I’m not sure the authors check the erratas here.
In my opinion, Chapter 7 Fooderlich doesn’t actually need to be a StatefulWidget. It works perfectly converted into a StatelessWidget. I think that is because Consumer takes care of the state changes.