AnimatableNavigationSuiteScaffold

fun AnimatableNavigationSuiteScaffold(navigationItems: @Composable () -> Unit, modifier: Modifier = Modifier, navigationSuiteType: NavigationSuiteType = currentNavigationSuiteType(), navigationSuiteColors: NavigationSuiteColors = NavigationSuiteDefaults.colors(), containerColor: Color = NavigationSuiteScaffoldDefaults.containerColor, contentColor: Color = NavigationSuiteScaffoldDefaults.contentColor, state: NavigationSuiteScaffoldState = rememberNavigationSuiteScaffoldState(), navigationItemVerticalArrangement: Arrangement.Vertical = NavigationSuiteDefaults.verticalArrangement, primaryActionContent: @Composable () -> Unit = {}, primaryActionContentHorizontalAlignment: Alignment.Horizontal = NavigationSuiteScaffoldDefaults.primaryActionContentAlignment, content: @Composable () -> Unit)

Custom navigation suite scaffold that uses FixedWideNavigationRail for wide navigation rail layout types and properly handles window insets during hide/show animations.

Parameters

navigationItems

the navigation items to be displayed

modifier

the Modifier to be applied to the navigation suite scaffold

navigationSuiteType
navigationSuiteColors

NavigationSuiteColors for the navigation component

containerColor

the color used for the background of the navigation suite scaffold

contentColor

the preferred color for content inside the navigation suite scaffold

state

the NavigationSuiteScaffoldState of this navigation suite scaffold

navigationItemVerticalArrangement

the vertical arrangement of items inside vertical navigation components

primaryActionContent

optional primary action content such as a floating action button

primaryActionContentHorizontalAlignment

horizontal alignment of the primary action content

content

the content of the screen