screen

fun <T : Destination> screen(clazz: KClass<T>, content: @Composable T.() -> Unit)

Bind clazz instances with specified content.

Parameters

clazz
  • The class, instances of which represent data, required by content to be drawn.

content