toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-themes
/
com.mapbox.dash.theming
/
IconColor
Icon
Color
data
class
IconColor
(
val
primary
:
DashColor
,
val
secondary
:
DashColor
,
val
tertiary
:
DashColor
,
val
inverted
:
DashColor
,
val
red
:
DashColor
,
val
green
:
DashColor
,
val
accent
:
DashColor
)
:
ComposeFactory
<
DashIconColor
>
Members
Constructors
Icon
Color
Link copied to clipboard
constructor
(
primary
:
DashColor
,
secondary
:
DashColor
,
tertiary
:
DashColor
,
inverted
:
DashColor
,
red
:
DashColor
,
green
:
DashColor
,
accent
:
DashColor
)
Types
Selector
Link copied to clipboard
enum
Selector
:
Enum
<
IconColor.Selector
>
Properties
accent
Link copied to clipboard
val
accent
:
DashColor
green
Link copied to clipboard
val
green
:
DashColor
inverted
Link copied to clipboard
val
inverted
:
DashColor
primary
Link copied to clipboard
val
primary
:
DashColor
red
Link copied to clipboard
val
red
:
DashColor
secondary
Link copied to clipboard
val
secondary
:
DashColor
tertiary
Link copied to clipboard
val
tertiary
:
DashColor
Functions
get
Color
By
Link copied to clipboard
fun
getColorBy
(
index
:
Int
=
0
)
:
DashColor
?
get
Tint
Selector
By
Link copied to clipboard
fun
getTintSelectorBy
(
selector
:
IconColor.Selector
)
:
ColorStateList
fun
getTintSelectorBy
(
index
:
Int
)
:
ColorStateList
?
to
Compose
Link copied to clipboard
@
Composable
open
override
fun
toCompose
(
)
:
DashIconColor