provides
Deprecated
Provide a nested style: style = { provideNestedStyle(AllComponents) { ... } }. For a parent-layout declaration on each child, wrap the children in VirtualSwingNode(modifier).
Binds this ComponentDefaultKey to value for use in ProvideComponentDefaults.
Provide a nested style: style = { provideNestedStyle(AllComponents) { ... } }. For a parent-layout declaration on each child, wrap the children in VirtualSwingNode(modifier).
Passing null removes this key throughout the nested subtree, restoring the outer provision upon exiting the provider.
Return
a ProvidedComponentDefault token.
Parameters
value
the value to cascade, or null to remove this key's declaration.