use<T> function
T
use<T>(
- BuildContext context,
- CreateCallback<
T> create, { - required String id,
- ListenerCallback<
T> ? listener, - DisposeCallback<
T> ? dispose,
Hook T
Implementation
T use<T>(
BuildContext context,
CreateCallback<T> create, {
required String id,
ListenerCallback<T>? listener,
DisposeCallback<T>? dispose,
}) =>
_use<T>(context, id, create, listener: listener, dispose: dispose);