useDebounceState<T> function Null safety

ValueNotifier<T> useDebounceState<T>(
  1. T initialData,
  2. {int? wait}
)

useDebounceState function

Implementation

ValueNotifier<T> useDebounceState<T>(T initialData, {int? wait}) {
  return use(_StateHook(initialData: initialData, wait: wait ?? 500));
}