ComponentDefaultKey
Deprecated
Provide a nested style: style = { provideNestedStyle(AllComponents) { ... } }. For a parent-layout declaration on each child, wrap the children in VirtualSwingNode(modifier).
An identity key naming an independent part of a scoped cascade of inheritable modifier declarations.
Provide a nested style: style = { provideNestedStyle(AllComponents) { ... } }. For a parent-layout declaration on each child, wrap the children in VirtualSwingNode(modifier).
Keys compare by identity (===). name is used for diagnostics, validation failures and toString; two keys with the same name remain independent. The type parameter V is the type of value this key expects, which must be non-nullable (null is reserved by provides for removing this key from a nested subtree).
Functions
Binds this ComponentDefaultKey to value for use in ProvideComponentDefaults.