CustomPage

data class CustomPage(val key: String, val content: @Composable (isSelected: Boolean) -> Unit, val isEnabled: Boolean = true) : OnboardingPage(source)

Represents a custom onboarding page whose content can react to selection state.

Constructors

Link copied to clipboard
constructor(key: String, content: @Composable (isSelected: Boolean) -> Unit, isEnabled: Boolean = true)

Properties

Link copied to clipboard
val content: @Composable (isSelected: Boolean) -> Unit

Composable content for the page, notified when it is the active page.

Link copied to clipboard
Link copied to clipboard
val key: String
Link copied to clipboard

Stable identifier for the onboarding page.