DsImage

@Composable
actual fun DsImage(image: DsImages, contentDescription: String?, modifier: Modifier, tint: Color?, backgroundColor: Color?)

Composable function to display a synchronous vector/raster image across Android and iOS.

Parameters

image

The target DsImages asset to display.

contentDescription

Optional accessibility description.

modifier

Compose Modifier to apply styling/layout.

tint

Optional tint color filter to apply to the image.

backgroundColor

Optional background color. On iOS, providing a solid background color enables high-performance native rendering without memory copy and decoding overhead. If null, a transparent Skia-based fallback is used.

@Composable
expect fun DsImage(image: DsImages, contentDescription: String?, modifier: Modifier = Modifier, tint: Color? = null, backgroundColor: Color? = null)

Composable function to display a synchronous vector/raster image across Android and iOS.

Parameters

image

The target DsImages asset to display.

contentDescription

Optional accessibility description.

modifier

Compose Modifier to apply styling/layout.

tint

Optional tint color filter to apply to the image.

backgroundColor

Optional background color. On iOS, providing a solid background color enables high-performance native rendering without memory copy and decoding overhead. If null, a transparent Skia-based fallback is used.

actual fun DsImage(image: DsImages, contentDescription: String?, modifier: ERROR CLASS: Symbol not found for Modifier, tint: ERROR CLASS: Symbol not found for androidx.compose.ui.graphics.Color??, backgroundColor: ERROR CLASS: Symbol not found for androidx.compose.ui.graphics.Color??)