- Use flutter to implement the UI of the above picture
- Press "add" button, the counter will plus 1.
- Press "refresh" button, the counter will reset to 0.
- 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