---
title: "LocalHostDefaultProvider"
description: "A [CompositionLocal] that provides the [HostDefaultProvider] to the composition.

This is intended for internal usage by [compositionLocalWithHostDefaultOf] to resolve values from
the hosting environment (e.g., `android.view.View`)."
type: "property"
---

<div class='type'>Property</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
public val LocalHostDefaultProvider: ProvidableCompositionLocal<HostDefaultProvider>
```


A `CompositionLocal` that provides the `HostDefaultProvider` to the composition.

This is intended for internal usage by `compositionLocalWithHostDefaultOf` to resolve values from
the hosting environment (e.g., `android.view.View`).



