copyWithLayoutAnimationsSpec

fun copyWithLayoutAnimationsSpec(animationSpec: AnimationSpec<Float>): DonutConfig

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

Return

the new instance of DonutConfig

Parameters

animationSpec

layout animation spec