useCreateStateNotifier<T extends StateNotifier> function
Creates a memoized StateNotifier
instance via create
, dispose it when
the widget disposes.
Implementation
T useCreateStateNotifier<T extends StateNotifier>(
CreateStateNotifier<T> create) {
return use(_CreateStateNotifierHook(create));
}