withComposeInteropSupport
Replaces the ScreenComposableFactoryFinder and ScreenViewFactoryFinder found in the receiving ViewEnvironment with wrappers that are able to delegate from one platform to the other. Required to allow WorkflowViewStub to handle renderings bound to @Composable
functions, and to allow WorkflowRendering to handle renderings bound to ScreenViewFactory.
Note that the standard navigation Screen types (BackStackScreen and BodyAndOverlaysScreen) are bound to View-based implementations. Until that changes, effectively every Compose-based app must call this method.
App-specific customizations of ScreenComposableFactoryFinder and ScreenViewFactoryFinder must be placed in the ViewEnvironment before calling this method.
Parameters
optional CompositionRoot to be applied whenever we create a Compose context, useful hook for applying composition locals that all ScreenComposableFactory factories need access to, such as UI themes.