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.

defaultTintColor

: controls the default tint color.

selectedTintColor

: controls the tint color when selected.

Constructors

Link copied to clipboard
constructor(icon: ImageVector, defaultTintColor: Color = TextColor.OnSurfaceVariant, selectedTintColor: Color = TextColor.OnSurface)

Properties

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