Mitchell Syer
08/14/2021, 9:59 PMIgor Demin
08/14/2021, 10:11 PMLocalAppWindow.current
is window
which you can access inside Window
function or inside any other function if you pass WindowScope there:
Window {
Box(...clickable { window.width }
foo()
}
@Composable
fun WindowScope.foo() {
Box(...clickable { window.width }
}
Mitchell Syer
08/15/2021, 3:47 PMIgor Demin
08/15/2021, 7:28 PM