Package-level declarations

Types

Link copied to clipboard
sealed class AppImageSource

A sealed class representing the source of an image. It can be either a remote URL or a local DrawableResource.

Functions

Link copied to clipboard
fun AppImage(modifier: Modifier = Modifier, source: AppImageSource? = null, contentDescription: String? = null)

A flexible image component that can load images from a AppImageSource.

Link copied to clipboard
fun AppImageCircular(modifier: Modifier = Modifier, source: AppImageSource? = null, contentDescription: String? = null)

A circular image component that clips an image into a circle. Supports both local resources and remote URLs via AppImageSource.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extension to convert a String (URL) to AppImageSource.Url.

fun DrawableResource.toAppImageSource(): AppImageSource

Extension to convert a DrawableResource to AppImageSource.Resource.

Link copied to clipboard