Dock

data class Dock<Scope : Dock.Scope>(val scope: Scope, val id: EditorComponentId, val modifier: Modifier, val visible: Boolean, val enterTransition: EnterTransition, val exitTransition: ExitTransition, val decoration: ScopedDecoration<Scope>, val listBuilder: HorizontalListBuilder<EditorComponent<*>>, val horizontalArrangement: Arrangement.Horizontal, val itemDecoration: ScopedDecoration<Scope>) : EditorComponent<Scope>

A component for rendering the dock at the bottom of the editor. Use Dock.Companion.remember composable function to create an instance of this class. Check AbstractDockBuilder and its superclasses to see what each property does.

Constructors

Link copied to clipboard
constructor(scope: Scope, id: EditorComponentId, modifier: Modifier, visible: Boolean, enterTransition: EnterTransition, exitTransition: ExitTransition, decoration: ScopedDecoration<Scope>, listBuilder: HorizontalListBuilder<EditorComponent<*>>, horizontalArrangement: Arrangement.Horizontal, itemDecoration: ScopedDecoration<Scope>)

Types

Link copied to clipboard
object Button
Link copied to clipboard

Builder class of Button component inside the Dock.

Link copied to clipboard
object Companion
Link copied to clipboard
object Divider
Link copied to clipboard

Builder class of Divider component inside the Dock.

Link copied to clipboard
open class ItemScope(parentScope: EditorScope) : EditorScope

Scope of the items inside the Dock.

Link copied to clipboard
Link copied to clipboard
open class Scope(parentScope: EditorScope) : EditorScope

Scope of the Dock component.

Properties

Link copied to clipboard
open override val decoration: ScopedDecoration<Scope>
Link copied to clipboard
open override val enterTransition: EnterTransition
Link copied to clipboard
open override val exitTransition: ExitTransition
Link copied to clipboard
open override val id: EditorComponentId
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val modifier: Modifier
Link copied to clipboard
open override val scope: Scope
Link copied to clipboard
open override val visible: Boolean