toggle menu
snabble Android SDK API Documentation
androidJvm
switch theme
search in API
ui-toolkit
/
io.snabble.sdk.dynamicview.domain.model
/
ButtonItem
Button
Item
data
class
ButtonItem
(
val
id
:
String
,
val
text
:
String
,
@
ColorRes
val
foregroundColor
:
Int
?
,
@
ColorRes
val
backgroundColor
:
Int
?
,
val
padding
:
Padding
)
:
Widget
Members
Constructors
Button
Item
Link copied to clipboard
constructor
(
id
:
String
,
text
:
String
,
@
ColorRes
foregroundColor
:
Int
?
,
@
ColorRes
backgroundColor
:
Int
?
,
padding
:
Padding
)
Properties
background
Color
Link copied to clipboard
val
backgroundColor
:
Int
?
foreground
Color
Link copied to clipboard
val
foregroundColor
:
Int
?
id
Link copied to clipboard
open
override
val
id
:
String
padding
Link copied to clipboard
val
padding
:
Padding
text
Link copied to clipboard
val
text
:
String