Function

createZeroVectorFrom

Creates an AnimationVector with all the values set to 0 using the provided TwoWayConverter and the value.

createZeroVectorFrom

Source set: Common
public fun <T, V : AnimationVector> TwoWayConverter<T, V>.createZeroVectorFrom(value: T): V

Creates an AnimationVector with all the values set to 0 using the provided TwoWayConverter and the value.

Return

a new AnimationVector instance of type V.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: