本课内容目前为英文。
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.
本课内容目前为英文。
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.