hook_it library
🪝 The hook_it library for Flutter.
See HookIt in GitHub
Extensions
- BuildContextExtension on BuildContext
- BuildContext extension.
Functions
-
use<
T> (BuildContext context, CreateCallback< T> create, {required String id, ListenerCallback<T> ? listener, DisposeCallback<T> ? dispose}) → T -
Hook
T
Typedefs
-
CreateCallback<
T> = T Function() -
DisposeCallback<
T> = void Function(T hook) -
ListenerCallback<
T> = void Function(T hook)