complete

suspend fun complete(animationSpec: AnimationSpec<Float> = tween(300))

Transitions the state to completed and animates the progress to 100%.