A Simple Flutter App (Counter) that shows how to manage State using Provider
You can read about State Management ,here:
https://flutter.dev/docs/development/data-and-backend/state-mgmt/intro
You can read about Provider and other approaches, here
https://flutter.dev/docs/development/data-and-backend/state-mgmt/options
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.