Icon
data class Icon(val icon: ImageVector, val defaultErrorTintColor: Color = SurfaceColor.Error, val defaultTintColor: Color = SurfaceColor.Primary, val selectedErrorTintColor: Color = TextColor.OnErrorContainer, val selectedTintColor: Color = TextColor.OnPrimaryContainer) : MenuLeadingElement
DHIS2 Icon, class to control the MenuLeadingElement trailing element icon.
Parameters
icon
: controls the icon to be shown.
default Error Tint Color
: controls the error style tint color.
default Tint Color
: controls the default tint color.
selected Error Tint Color
: controls the error style tint color when selected.
selected Tint Color
: controls the tint color when selected.