RevealingType

sealed interface RevealingType(source)

Sealed interface representing types of revealing text.

Inheritors

Types

Link copied to clipboard
data class ByEachCharacter(val delayInMillis: Long) : RevealingType

Reveals text character by character with a specified delay between each.

Link copied to clipboard
data class ByTotalTime(val durationInMillis: Long) : RevealingType

Reveals text over a specified total duration.