AiutaPlatformAdaptiveImage

fun AiutaPlatformAdaptiveImage(platformFile: AiutaPlatformFile, contentDescription: String?, modifier: Modifier = Modifier, shapeDp: Dp? = null, alignment: Alignment = Alignment.Center)

Displays an image from a platform-specific file.

Reads the file's bytes (showing ErrorProgress if that fails) and renders them through AiutaAdaptiveImage, so platform files get the same adaptive cover / contain+blur treatment and view-sized decoding as URL images.

Parameters

platformFile

The platform-specific file containing the image data

contentDescription

The content description for accessibility

modifier

The modifier to be applied to the container

shapeDp

The corner radius used to clip the image (and the shimmer placeholder)

alignment

The alignment of the image within its bounds