custom

fun NudgeState.custom(duration: Duration = NudgeDuration.Persistent, style: Style = Style.Default, content: NudgeLayout)

Displays a customizable nudge with the specified parameters.

Parameters

duration

The duration for which the nudge should be displayed.

style

The style of the nudge.

content

The NudgeLayout to display within the nudge.