Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Decoration of this component. Useful when you want to add custom background, foreground, shadow, paddings etc. By default no decoration is applied.

Link copied to clipboard

Transition of the component when it enters the parent composable. By default no transition is applied.

Link copied to clipboard

Transition of the component when it exits the parent composable. By default no transition is applied.

Link copied to clipboard

Unique id of this component. By default property is not initialized.

Link copied to clipboard

Modifier of this component. By default empty Modifier is applied.

Link copied to clipboard

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.

Link copied to clipboard

Whether the component should be visible. By default component is always visible.

Functions

Link copied to clipboard
abstract fun build(scope: Scope, id: EditorComponentId, modifier: Modifier, visible: Boolean, enterTransition: EnterTransition, exitTransition: ExitTransition, decoration: ScopedDecoration<Scope>): Target