fadeOut

fun fadeOut(steps: Int = 20, timeMs: Long = 2000): Modifier

Provides a fade out effect for the tile that has this modifier. The effect will start when the tile is added to a tile grid.

Parameters

steps

the number of frames for the fade effect

timeMs

the time (in milliseconds) the effect takes

Sources

(source)
Link copied to clipboard