fillTransition

fun Shape.fillTransition(duration: Duration = 400.0.milliseconds, fromValue: Color? = null, toValue: Color? = null, configuration: FillTransition.() -> Unit): FillTransition

Plays a FillTransition.

Return

the animation played.

Parameters

duration

length of this animation.

configuration

the configuration block that customizes animation.