Abstract Navigation Bar Builder
Abstract builder class for NavigationBar.
Inheritors
Properties
Decoration of the navigation bar. Useful when you want to add custom background, foreground, shadow, paddings etc. Default value is NavigationBar.Companion.DefaultDecoration.
Transition of the component when it enters the parent composable. By default no transition is applied.
Transition of the component when it exits the parent composable. By default no transition is applied.
Horizontal arrangement that should be used to render the items in the navigation bar horizontally. Note that the value will be ignored in case listBuilder contains aligned items. Check EditorComponent.ListBuilder.New.aligned for more details on how to configure arrangement of aligned items. Default value is Arrangement.Start.
Unique id of this component. By default the value is "ly.img.component.navigationBar".
Decoration of the items in the navigation bar. Useful when you want to add custom background, foreground, shadow, paddings etc to the items. Prefer using this decoration when you want to apply the same decoration to all the items, otherwise set decoration to individual items. Default value is an empty decoration.
A list builder that builds a list of EditorComponents that should be part of the navigation bar. Note that adding items to the list does not mean displaying. The items will be displayed if EditorComponent.visible is true for them. Also note that items will be rebuilt when scope is updated. By default listBuilder does not add anything to the navigation bar.
Modifier of this component. By default empty Modifier is applied.
Scope of this component. Every new value will trigger recomposition of all ScopedPropertys such as visible, enterTransition, exitTransition etc. Consider using Compose androidx.compose.runtime.State objects in the lambdas for granular recompositions over updating the scope, since scope change triggers full recomposition of the component. Ideally, scope should be updated when the parent scope (scope of the parent component) is updated and when you want to observe changes from the Engine. Property is abstract.
Whether the component should be visible. By default component is always visible.