Icon

constructor(icon: ImageVector, defaultErrorTintColor: Color = SurfaceColor.Error, defaultTintColor: Color = SurfaceColor.Primary, selectedErrorTintColor: Color = TextColor.OnErrorContainer, selectedTintColor: Color = TextColor.OnPrimaryContainer)

Parameters

icon

: controls the icon to be shown.

defaultErrorTintColor

: controls the error style tint color.

defaultTintColor

: controls the default tint color.

selectedErrorTintColor

: controls the error style tint color when selected.

selectedTintColor

: controls the tint color when selected.