Cette leçon est en anglais pour le moment.
A like button that remembers
A stateless widget only shows what it is given. A like button has to remember whether you tapped it, and redraw itself when you do. That memory is called state.
Cette leçon est en anglais pour le moment.
A stateless widget only shows what it is given. A like button has to remember whether you tapped it, and redraw itself when you do. That memory is called state.