title: What is this "provides" syntax in this kotlin jetpack compose code sample?
body: <p>What is the &quot;provides&quot; syntax in this code sample and what does it do?</p>
  <pre><code>LocalContentAlpha provides ContentAlpha.medium
  </code></pre>
  <p>It doesn't seem to be a standard kotlin keyword and I haven't had much luck googling for queries like &quot;kotlin provides keyword&quot; or &quot;jetpack compose provides&quot;.</p>
  <p>This shows up on the <a href="https://developer.android.com/codelabs/jetpack-compose-layouts?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fcompose%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fjetpack-compose-layouts#2" rel="noreferrer">Jetpack Compose codelab</a>, full snippet below.</p>
  <pre><code>@Composable
  fun PhotographerCard() {
      Column {
          Text(&quot;Alfred Sisley&quot;, fontWeight = FontWeight.Bold)
          // LocalContentAlpha is defining opacity level of its children
          CompositionLocalProvider(LocalContentAlpha provides ContentAlpha.medium) {
              Text(&quot;3 minutes ago&quot;, style = MaterialTheme.typography.body2)
          }
      }
  }
  
  @Preview
  @Composable
  fun PhotographerCardPreview() {
      LayoutsCodelabTheme {
          PhotographerCard()
      }
  }
  </code></pre>