ManualGlobalKey

class ManualGlobalKey(val key: String, val position: Int, val parent: GlobalKey?) : GlobalKey

Structural key for components with a manual key (set via .key("...")). Unlike StringGlobalKey, this preserves the parent pointer so that structural descendant checks work across manual key boundaries without falling back to string prefix comparison.

key is the manual key string (prefixed with "$"), position is the manual key usage count (0 = first usage, >0 = duplicate).

Constructors

Link copied to clipboard
constructor(key: String, position: Int, parent: GlobalKey?)

Properties

Link copied to clipboard
open override val key: String
Link copied to clipboard
val parent: GlobalKey? = null
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard

Returns true if this key equals ancestor or is a descendant of it.

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