IconResource

sealed class IconResource

Sealed class representing an icon resource. It can be either a vector or a drawable resource.

Inheritors

Types

Link copied to clipboard
data class Drawable(val resId: Int) : IconResource

Data class representing a drawable icon resource.

Link copied to clipboard
data class Vector(val vector: ImageVector) : IconResource

Data class representing a vector icon resource.