Start native apps faster with the Composables CLI ->
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.