A new Flutter project.
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 development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Types of Riverpod Providers:
a. Provider :: Cache
b. StateProvider :: Watch single data to update UI
c. StateNotifierProvider :: Watch single data or object to update UI
d. FutureProvider :: Future data cache
e. StreamProvider :: Stream cache
watch :: show the value and update it instantly ---> works like notifylistener of simple provider read :: show the value and update it after reload ---> only show the cache value state :: after read the value, have to update the state ---> for update the value
family :: Provider.family<|returnType|, |parameterType|>((ref, sampleVal){}) --> for initialize provider with sampleVal
autoDispose :: Provider.autoDispose ---> for dispose the provider's value when the widget is removed