Part of Flutter State Management playlist: • Flutter State Management Course 💙
Provider is a 3rd party package available from pub.dev. This package allows you to create providers of type ChangeNotifier and ValueNotifier for instance, and send them down the BuildContext path for consumers to use. One of the beautifies of the Provider package is its ability to re-draw a widget by simply using .watch() or .select() in the build() method of your widget!
Provider will greatly simplify your state management in your Flutter applications.
🐦 Twitter: / vandadnp
🔵 LinkedIn: / vandadnp
🤝 Want to support my work? https://buymeacoffee.com/vandad