fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: StackPanel.() -> Unit = null): StackPanel
DSL builder extension function.
It takes the same parameters as the constructor of the built component.