stateTag<N extends StateNotifier<S> , S> static method
StateNotifierTagProvider<N, S>
stateTag<N extends StateNotifier<S> , S>(
- CreatorCallback<
N, dynamic> callback, { - bool autoDispose = true,
creates a StateNotifierTagProvider
Implementation
static StateNotifierTagProvider<N, S> stateTag<N extends StateNotifier<S>, S>(
CreatorCallback<N, dynamic> callback, {
bool autoDispose = true,
}) {
return StateNotifierTagProvider<N, S>(
callback,
autoDispose: true,
);
}