HookGlobalKey

data class HookGlobalKey(val globalKey: GlobalKey, val hookKey: Any, val scope: RenderScope)

A globally unique key for a hook call within a component tree. Combines the component's global key with the hook-local identity and the RenderScope in which the hook executes.

Parameters

globalKey

The component's global key in the tree.

hookKey

The hook-local identity -- either an Int index (legacy sequential mode) or a HookKey (hook identity mode).

scope

The render phase (RenderScope.Resolve or RenderScope.Layout) in which this hook executes.

Constructors

Link copied to clipboard
constructor(globalKey: GlobalKey, hookKey: Any, scope: RenderScope)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String