Package-level declarations

Types

Link copied to clipboard

Navigator that drives a GleamState for use with GleamScaffolds within the navigation library. Every destination using this Navigator must set a valid Composable by defining it directly on an instantiated Destination or calling gleam.

Link copied to clipboard

The state of a GleamScaffold driven by the GleamNavigator.

Functions

Link copied to clipboard
fun NavGraphBuilder.gleam(    route: String,     arguments: List<NamedNavArgument> = emptyList(),     deepLinks: List<NavDeepLink> = emptyList(),     content: @Composable ColumnScope.(backstackEntry: NavBackStackEntry) -> Unit)

Add the content as gleam content to the NavGraphBuilder

Link copied to clipboard
fun GleamScaffold(    navigator: GleamNavigator,     modifier: Modifier = Modifier,     gleamMaxWidth: Dp = GleamDefaults.GleamMaxWidth,     shape: Shape = GleamDefaults.ExpandedShape,     containerColor: Color = GleamDefaults.ContainerColor,     contentColor: Color = contentColorFor(containerColor),     tonalElevation: Dp = GleamDefaults.Elevation,     scrimColor: Color = GleamDefaults.ScrimColor,     dragHandle: @Composable () -> Unit? = { GleamDefaults.DragHandle() },     windowInsets: WindowInsets = GleamDefaults.windowInsets,     properties: GleamProperties = GleamDefaults.properties(),     content: @Composable () -> Unit)

Helper function to create a GleamScaffold from a GleamNavigator.

Link copied to clipboard

Associates a NavHostController with this GleamNavigator, enabling navigation using Gleam composables.

Link copied to clipboard

Creates and remembers a GleamNavigator for use with Gleam navigations.