Page
Properties
Functions
Link copied to clipboard
@Composable
Creates and returns the appropriate composable page view based on the current Page type.
Link copied to clipboard
fun Page.createViewModel(scope: CoroutineScope, appState: AppStateImpl, gameSession: MutableState<GameSession>, audioThemeState: MutableState<AudioThemeState>, pagesState: MutableState<PagesState>): ViewModel<out UiState>?
Creates and returns the appropriate ViewModel instance based on the current Page type.