sceneContainer

inline fun Container.sceneContainer(views: Views, defaultTransition: Transition = AlphaTransition.withEasing(Easing.EASE_IN_OUT_QUAD), name: String = "sceneContainer", size: Size = Size(0f, 0f), callback: SceneContainer.() -> Unit = {}): SceneContainer

Creates a new SceneContainer, allowing to configure with callback, and attaches the newly created container to the receiver this Container It requires to specify the Views singleton instance, and allows to specify a defaultTransition.


inline suspend fun Container.sceneContainer(defaultTransition: Transition = AlphaTransition.withEasing(Easing.EASE_IN_OUT_QUAD), name: String = "sceneContainer", size: Size = Size.ZERO, callback: SceneContainer.() -> Unit = {}): SceneContainer