Closed tafaust closed 1 year ago
I am reluctant to use ChangeNotifierProvider, currently I am changing StateNotifierProvider
to newly introduced NotifierProvider
.
StateProvider
, StateNotifierProvider
, ChangeNotifierProvider
. These are legacy and shouldn't be used anymore.
This flutter template only shows how to work with
StateNotifierProvider
where the state is a model. What is an example of when to useChangeNotifierProvider
and can we include it in this boilerplate?I am willing to do a PR here.