copyWithColorAnimationsSpec

fun copyWithColorAnimationsSpec(animationSpec: AnimationSpec<Color>): DonutConfig

Returns new instance of DonutConfig with all color animation specs set to provided animationSpec.

Return

the new instance of DonutConfig

Parameters

animationSpec

color animation spec