each
A way to assign multiple percentage values with the same style.
For example, this can be useful if you have an animation that changes, then stops for a bit, and then continues to change again.
val Example = Keyframes {
from { Modifier.opacity(0) }
each(20.percent, 80.percent) { Modifier.opacity(1) }
to { Modifier.opacity(1) }
}
Content copied to clipboard