RedwoodComposition
fun <W : Any> RedwoodComposition(scope: CoroutineScope, view: RedwoodView<W>, widgetSystem: WidgetSystem<W>, onEndChanges: () -> Unit = {}): RedwoodComposition
fun <W : Any> RedwoodComposition(scope: CoroutineScope, container: Widget.Children<W>, onBackPressedDispatcher: OnBackPressedDispatcher, saveableStateRegistry: SaveableStateRegistry?, uiConfigurations: StateFlow<UiConfiguration>, widgetSystem: WidgetSystem<W>, onEndChanges: () -> Unit = {}): RedwoodComposition
Parameters
scope
A CoroutineScope whose coroutineContext must have a MonotonicFrameClock key which is being ticked.