Companion
object Companion
Functions
Link copied to clipboard
fun NavigationBar.Companion.DefaultDecoration(_: Nothing = nothing, background: Color = MaterialTheme.colorScheme.surface.copy(alpha = 0.95F), paddingValues: PaddingValues = PaddingValues(horizontal = 4.dp), __: Nothing = nothing, content: @Composable () -> Unit)
Default decoration of the navigation bar. Sets a background color and applies paddings to the navigation bar by adding a containing box.
Link copied to clipboard
fun NavigationBar.Companion.remember(builder: NavigationBarBuilder.() -> Unit = {}): NavigationBar<NavigationBar.Scope>
A composable overload for NavigationBar.Companion.remember that uses NavigationBarBuilder to create and remember a NavigationBar instance. Check the documentation of overloaded NavigationBar.Companion.remember function below for more details. Note that builder lambda runs only once, therefore you should not have builder property reassignments based on conditions. Check ly.img.editor.core.configuration.EditorConfiguration.Companion.remember for more details on this pattern.
fun <Scope : NavigationBar.Scope, Builder : AbstractNavigationBarBuilder<Scope>> NavigationBar.Companion.remember(builderFactory: () -> Builder, builder: Builder.() -> Unit = {}): NavigationBar<Scope>
A composable function that creates and remembers a NavigationBar instance.