UseRefHook<T> class
A hook for creating stateless value.
Unlike value of a useState hook, a change in value of useRef won't cause scope re-render.
Properties
Methods
-
addHookEventListeners(
Map< HookEventType, HookEventCallback> listeners) → void -
Register hook's scope event listeners.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performRebuild(
) → void -
Tells framework to rebuild the hook's scope.
inherited
-
register(
) → void -
Register hook.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited