<h2 id="appscaffold-modifier-timetext-containercolor-contentcolor-content">AppScaffold</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
@Composable
public fun AppScaffold(
    modifier: Modifier = Modifier,
    timeText: @Composable () -> Unit = { TimeText() },
    containerColor: Color = MaterialTheme.colorScheme.background,
    contentColor: Color = contentColorFor(containerColor),
    content: @Composable BoxScope.() -> Unit,
)
```

#### Parameters

| | |
| --- | --- |
| modifier | The modifier for the top level of the scaffold. |
| timeText | The default time (and potentially status message) to display at the top middle of the screen in this app. When [AppScaffold](/jetpack-compose/androidx.wear.compose/compose-material3/components/AppScaffold) is used in combination with [ScreenScaffold](/jetpack-compose/androidx.wear.compose/compose-material3/components/ScreenScaffold), the time text will be scrolled away and shown/hidden according to the scroll state of the screen. |
| containerColor | The container color of the app drawn behind the `content`, i.e. the color of the background behind the content. |
| contentColor | The content color for the application `content`. |
| content | The main content for this application. |