Start native apps faster with the Composables CLI ->
Object

NavigationSuiteScaffoldDefaults

Contains the default values used by the NavigationSuiteScaffold.

Source set: Common
public object NavigationSuiteScaffoldDefaults

Contains the default values used by the NavigationSuiteScaffold.

Properties

containerColor

Source set: Common
public val containerColor: Color

Default container color for a navigation suite scaffold.

contentColor

Source set: Common
public val contentColor: Color

Default content color for a navigation suite scaffold.

primaryActionContentAlignment

Source set: Common
public val primaryActionContentAlignment: Alignment.Horizontal = Alignment.End

Default primary action content alignment for a navigation suite scaffold.

Functions

Source set: Common
public fun navigationSuiteType(adaptiveInfo: WindowAdaptiveInfo): NavigationSuiteType

Returns the recommended NavigationSuiteType according to the provided WindowAdaptiveInfo, following the Material specifications. Usually used with the NavigationSuiteScaffold and related APIs.

Parameters

adaptiveInfo the provided WindowAdaptiveInfo

calculateFromAdaptiveInfo

Source set: Common
@Suppress("DEPRECATION") // WindowWidthSizeClass deprecated
    public fun calculateFromAdaptiveInfo(adaptiveInfo: WindowAdaptiveInfo): NavigationSuiteType

Returns the standard NavigationSuiteType according to the provided WindowAdaptiveInfo. Usually used with the NavigationSuiteScaffold and related APIs.

Note: It's recommended to use navigationSuiteType instead of this function, as that one offers extended and preferred types.

Parameters

adaptiveInfo the provided WindowAdaptiveInfo