hook_state library
Classes
-
Hook<
R> - A base abstract class for all Hooks. Hooks are reusable logic that can be shared across different parts of the application, encapsulating initialization and disposal logic.
- HookState
- A mixin to be used with StatefulWidget to enable the use of Hooks. This mixin manages the lifecycle of Hooks, ensuring they are properly initialized and disposed of.
Mixins
- HookMixin
-
HookStateMixin<
T extends StatefulWidget>
Extensions
- AnimationHookStateExtension on HookState
- Extension methods for HookState to handle Animation-based Hooks.
- ControllerHookStateExtension on HookState
- Extension methods for HookState to handle various Controller-based Hooks.
- ListenableHookStateExtension on HookState
- Extension methods for HookState to handle Listenable-based Hooks.
- StreamHookStateExtension on HookState
- Extension methods for HookState to handle Stream-based Hooks.