commonMain.tech.skot.core.components.SKFrame.kt Maven / Gradle / Ivy
package tech.skot.core.components
import tech.skot.core.SKLog
import tech.skot.core.di.coreViewInjector
class SKFrame(val screens: Set>, screenInitial: SKScreen<*>? = null) : SKComponent() {
override val view = coreViewInjector.frame(screens = screens.map { it.view }.toSet(), screenInitial = screenInitial?.view)
var screen: SKScreen<*>? = null
set(value) {
field = value
view.screen = value?.view
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy