NavigationSuiteScaffoldWithPrimaryActionOverrideScope

@ExperimentalMaterial3AdaptiveComponentOverrideApi
class NavigationSuiteScaffoldWithPrimaryActionOverrideScope


Parameters available to NavigationSuiteScaffold that includes a primary action.

Summary

Public properties

Color

the color used for the background of the navigation suite scaffold, including the passed content composable.

@Composable () -> Unit

the content of your screen

Color

the preferred color to be used for typography and iconography within the passed in content lambda inside the navigation suite scaffold.

Modifier

the Modifier to be applied to the navigation suite scaffold

Arrangement.Vertical

the vertical arrangement of the items inside vertical navigation components (such as the types NavigationSuiteType.WideNavigationRailCollapsed and NavigationSuiteType.WideNavigationRailExpanded).

@Composable () -> Unit

the navigation items to be displayed, typically NavigationSuiteItems

NavigationSuiteColors

NavigationSuiteColors that will be used to determine the container (background) color of the navigation component and the preferred color for content inside the navigation component

NavigationSuiteType

the current NavigationSuiteType.

@Composable () -> Unit

The optional primary action content of the navigation suite scaffold, if any.

Alignment.Horizontal

The horizontal alignment of the primary action content, if present, when it's displayed along with a horizontal navigation component.

NavigationSuiteScaffoldState

the NavigationSuiteScaffoldState of this navigation suite scaffold

Public properties

containerColor

val containerColorColor

the color used for the background of the navigation suite scaffold, including the passed content composable. Use Color.Transparent to have no color

content

Added in 1.5.0-alpha25
val content: @Composable () -> Unit

the content of your screen

contentColor

val contentColorColor

the preferred color to be used for typography and iconography within the passed in content lambda inside the navigation suite scaffold.

modifier

Added in 1.5.0-alpha25
val modifierModifier

the Modifier to be applied to the navigation suite scaffold

Added in 1.5.0-alpha25
val navigationItemVerticalArrangementArrangement.Vertical

the vertical arrangement of the items inside vertical navigation components (such as the types NavigationSuiteType.WideNavigationRailCollapsed and NavigationSuiteType.WideNavigationRailExpanded). It's recommended to use Arrangement.Top, Arrangement.Center, or Arrangement.Bottom. Defaults to Arrangement.Top

Added in 1.5.0-alpha25
val navigationItems: @Composable () -> Unit

the navigation items to be displayed, typically NavigationSuiteItems

Added in 1.5.0-alpha25
val navigationSuiteColorsNavigationSuiteColors

NavigationSuiteColors that will be used to determine the container (background) color of the navigation component and the preferred color for content inside the navigation component

primaryActionContent

Added in 1.5.0-alpha25
val primaryActionContent: @Composable () -> Unit

The optional primary action content of the navigation suite scaffold, if any. Typically a androidx.compose.material3.FloatingActionButton. It'll be displayed inside vertical navigation components as part of their header , and above horizontal navigation components.

primaryActionContentHorizontalAlignment

Added in 1.5.0-alpha25
val primaryActionContentHorizontalAlignmentAlignment.Horizontal

The horizontal alignment of the primary action content, if present, when it's displayed along with a horizontal navigation component.

state

Added in 1.5.0-alpha25
val stateNavigationSuiteScaffoldState

the NavigationSuiteScaffoldState of this navigation suite scaffold