toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-themes
/
com.mapbox.dash.theming
/
ButtonColor
Button
Color
data
class
ButtonColor
(
val
primary
:
DashColor
,
val
secondary
:
DashColor
,
val
tertiary
:
DashColor
,
val
transparent
:
DashColor
,
val
red
:
DashColor
)
:
ComposeFactory
<
DashButtonColor
>
Members
Constructors
Button
Color
Link copied to clipboard
constructor
(
primary
:
DashColor
,
secondary
:
DashColor
,
tertiary
:
DashColor
,
transparent
:
DashColor
,
red
:
DashColor
)
Properties
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
transparent
Link copied to clipboard
val
transparent
:
DashColor
Functions
get
Color
By
Link copied to clipboard
fun
getColorBy
(
index
:
Int
=
0
)
:
DashColor
?
to
Compose
Link copied to clipboard
@
Composable
open
override
fun
toCompose
(
)
:
DashButtonColor