Companion

object Companion

Functions

Link copied to clipboard
fun create(layoutAnimationSpec: AnimationSpec<Float> = tween(), colorAnimationSpec: AnimationSpec<Color> = tween()): DonutConfig

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).