toggle menu
Nudge
1.0.0-alpha01
common
switch theme
search in API
core
/
dev.teogor.nudge
/
NudgeModel
/
Standard
Standard
@
Immutable
data
class
Standard
(
val
type
:
Type
,
val
title
:
String
,
val
description
:
String
?
=
null
,
val
actions
:
List
<
NudgeButton
>
=
emptyList()
,
val
duration
:
Duration
=
Duration.Medium
,
val
style
:
Style
=
Style.Default
)
:
NudgeModel
Members
Constructors
Standard
Link copied to clipboard
constructor
(
type
:
Type
,
title
:
String
,
description
:
String
?
=
null
,
actions
:
List
<
NudgeButton
>
=
emptyList()
,
duration
:
Duration
=
Duration.Medium
,
style
:
Style
=
Style.Default
)
Properties
actions
Link copied to clipboard
val
actions
:
List
<
NudgeButton
>
description
Link copied to clipboard
val
description
:
String
?
=
null
duration
Link copied to clipboard
open
override
val
duration
:
Duration
style
Link copied to clipboard
open
override
val
style
:
Style
title
Link copied to clipboard
val
title
:
String
type
Link copied to clipboard
val
type
:
Type