Icon
data class Icon(val icon: ImageVector, val defaultTintColor: Color = TextColor.OnSurfaceVariant, val selectedTintColor: Color = TextColor.OnSurface) : MenuTrailingElement
DHIS2 Icon, class to control the MenuTrailingElement trailing element icon.
Parameters
icon
: controls the icon to be shown.
default Tint Color
: controls the default tint color.
selected Tint Color
: controls the tint color when selected.
Constructors
Link copied to clipboard
constructor(icon: ImageVector, defaultTintColor: Color = TextColor.OnSurfaceVariant, selectedTintColor: Color = TextColor.OnSurface)