NavigableContent

abstract fun NavigableContent(children: @Composable (visible: State<Boolean>) -> Unit)

Defines a composable which will be initially passed visible=false, and then invoked with visible=true as the slideshow is advanced.

A State object is passed, instead of passing the boolean directly, to prevent unnecessary recomposition if the value is not used in the immediate scope.