VectorComposable

Class

Common
@ComposableTargetMarker(description = "Vector Composable")
@Target(
    AnnotationTarget.FILE,
    AnnotationTarget.FUNCTION,
    AnnotationTarget.PROPERTY_GETTER,
    AnnotationTarget.TYPE,
    AnnotationTarget.TYPE_PARAMETER,
)
annotation class VectorComposable()

An annotation that can be used to mark an composable function as being expected to be use in a composable function that is also marked or inferred to be marked as a VectorComposable.

Using this annotation explicitly is rarely necessary as the Compose compiler plugin will infer the necessary equivalent annotations automatically. See androidx.compose.runtime.ComposableTarget for details.