WebViewContentRenderer
An instance of this class defines a WebView-based renderer for a specific content type.
Some types of content are natural to render in browser environment by transforming them to HTML. This class simplifies implementing such a renderer in Compose environment.
Functions
Link copied to clipboard
fun Render(modifier: Modifier = Modifier, content: String = "", asset: String = "", verticalScrolling: Boolean = false, color: Color = MaterialTheme.colorScheme.onSurface, primaryColor: Color = MaterialTheme.colorScheme.primary, linkColor: Color = MaterialTheme.colorScheme.secondary, backgroundColor: Color = MaterialTheme.colorScheme.surface, assets: Map<String, ByteString>? = null)