URIResource

data class URIResource(val light: Uri, val dark: Uri)

Represents a Uniform Resource Identifier (URI) resource that can have different values for light and dark themes.

This class is typically used to store URIs for resources like images or logos that need to adapt to different theme settings.

Constructors

Link copied to clipboard
constructor(uri: Uri)

Creates a URIResource with the same URI for both light and dark themes.

constructor(light: Uri, dark: Uri)

Properties

Link copied to clipboard
val dark: Uri

The URI to use in dark theme.

Link copied to clipboard
val light: Uri

The URI to use in light theme.