remoteComponent
Source set: JvmAndAndroid
@Composable
public fun remoteComponent(): RemoteComponent
Returns a RemoteComponent bound to the enclosing layout component.
- Captures the enclosing layout component's identity at composition time.
- Resolves
RemoteComponentproperties to that component's ID regardless of where the resulting
RemoteFloat is consumed (such as in sibling modifiers, nested containers, or RemoteCanvas draw commands).
Return
RemoteComponent bound to the current layout component in composition