Class

NavigationSuiteType

Class that describes the different navigation suite types of the NavigationSuiteScaffold.

Source set: Common
public class NavigationSuiteType private constructor(private val description: String)

Class that describes the different navigation suite types of the NavigationSuiteScaffold.

The NavigationSuiteType informs the NavigationSuite of what navigation component to expect.

Members

Companion

Source set: Common
public companion object

Properties

ShortNavigationBarCompact

Source set: Common
public val ShortNavigationBarCompact: NavigationSuiteType =
            NavigationSuiteType(description = "ShortNavigationBarCompact")

A navigation suite type that instructs the NavigationSuite to expect a ShortNavigationBar with vertical ShortNavigationBarItems that will be displayed at the bottom of the screen.

ShortNavigationBarMedium

Source set: Common
public val ShortNavigationBarMedium: NavigationSuiteType =
            NavigationSuiteType(description = "ShortNavigationBarMedium")

A navigation suite type that instructs the NavigationSuite to expect a ShortNavigationBar with horizontal ShortNavigationBarItems that will be displayed at the bottom of the screen.

WideNavigationRailCollapsed

Source set: Common
public val WideNavigationRailCollapsed: NavigationSuiteType =
            NavigationSuiteType(description = "WideNavigationRailCollapsed")

A navigation suite type that instructs the NavigationSuite to expect a collapsed WideNavigationRail that will be displayed at the start of the screen.

WideNavigationRailExpanded

Source set: Common
public val WideNavigationRailExpanded: NavigationSuiteType =
            NavigationSuiteType(description = "WideNavigationRailExpanded")

A navigation suite type that instructs the NavigationSuite to expect an expanded WideNavigationRail that will be displayed at the start of the screen.

Source set: Common
public val NavigationBar: NavigationSuiteType =
            NavigationSuiteType(description = "NavigationBar")

A navigation suite type that instructs the NavigationSuite to expect a NavigationBar that will be displayed at the bottom of the screen.

Note: It's recommended to use ShortNavigationBarCompact instead of this layout type.

Source set: Common
public val NavigationRail: NavigationSuiteType =
            NavigationSuiteType(description = "NavigationRail")

A navigation suite type that instructs the NavigationSuite to expect a NavigationRail that will be displayed at the start of the screen.

Note: It's recommended to use WideNavigationRailCollapsed instead of this layout type.

Source set: Common
public val NavigationDrawer: NavigationSuiteType =
            NavigationSuiteType(description = "NavigationDrawer")

A navigation suite type that instructs the NavigationSuite to expect a PermanentDrawerSheet that will be displayed at the start of the screen.

Note: It's recommended to use WideNavigationRailExpanded instead of this layout type.

None

Source set: Common
public val None: NavigationSuiteType = NavigationSuiteType(description = "None")

A navigation suite type that instructs the NavigationSuite to not display any navigation components on the screen.

Note: It's recommended to use NavigationSuiteScaffoldState instead of this layout type and set the visibility of the navigation component to hidden.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: