The provider package is an easy to use package which is basically a wrapper around the InheritedWidgets that makes it easier to use and manage . It provides a state management technique that is used for managing a piece of data around the app.
Read moreWhat is context watch in Flutter?
context.watch<T>() listens to changes on T . context.read<T>() returns T without listening to it. You were calling.
Read more