NudgeState

fun NudgeState(maxStack: Int, animation: Animation, placement: Placement, coroutineScope: CoroutineScope): NudgeState

Creates a new instance of NudgeState with the specified parameters.

Return

A new NudgeState instance.

Parameters

maxStack

The maximum number of nudges to display at once.

animation

The animation to use for displaying nudges.

placement

The placement of nudges on the screen.

coroutineScope

The CoroutineScope to use for managing nudge-related coroutines.