-
public class DonutConfig.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static DonutConfig.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final DonutConfigcreate(AnimationSpec<Float> layoutAnimationSpec, AnimationSpec<Color> colorAnimationSpec)The factory method for DonutConfig that simplifies the creation of new configuration instances where all layout animations or all color animations should behave similarly (Eg. -
-
Method Detail
-
create
final DonutConfig create(AnimationSpec<Float> layoutAnimationSpec, AnimationSpec<Color> colorAnimationSpec)
The factory method for DonutConfig that simplifies the creation of new configuration instances where all layout animations or all color animations should behave similarly (Eg. all layout animations will use the same animation spec).
- Parameters:
layoutAnimationSpec- animation builder for all layout animationscolorAnimationSpec- animation builder for all color change animations
-
-
-
-