Revealing
data class Revealing(val cover: RevealingCover = RevealingCover.Default, val pattern: RevealingPattern = RevealingPattern.START_TO_END, val type: RevealingType = RevealingType.ByEachCharacter(delayInMillis = 80L), val delayBeforeRevealing: Long = 500, val onComplete: () -> Unit = {}) : DisplayStyle(source)
A revealing display style that progressively uncovers the text in a specified pattern.
Constructors
Link copied to clipboard
constructor(cover: RevealingCover = RevealingCover.Default, pattern: RevealingPattern = RevealingPattern.START_TO_END, type: RevealingType = RevealingType.ByEachCharacter(delayInMillis = 80L), delayBeforeRevealing: Long = 500, onComplete: () -> Unit = {})
Properties
Link copied to clipboard
Specifies the covering type that conceals the text initially.
Link copied to clipboard
Delay in milliseconds before starting the reveal effect.
Link copied to clipboard
Callback invoked when the revealing animation completes.
Link copied to clipboard
Defines the pattern of the revealing effect (e.g., start to end).
Link copied to clipboard
The type of revealing (e.g., character by character).