10antz22 / flutter_sample_test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  1. Use flutter to implement the UI of the above picture
  2. Press "add" button, the counter will plus 1.
  3. Press "refresh" button, the counter will reset to 0.
  4. Use stateless widget to achieve the above functions. (hint: use provider and consumer, or other state management libraries)

(step 4 is not necessary, you can also use statefulwidget to achieve the above functions)

Source code: Please send the source code(dart file only) to my email: ainanohajp@gmail.com

About