Por enquanto, esta lição está em inglês.
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.
Por enquanto, esta lição está em inglês.
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.