Class

ComposableTargetMarker

This annotation is used to mark an annotation as being equivalent using ComposableTarget with the fully qualified name of the marked annotation as the applier value.

Source set: Common
public annotation class ComposableTargetMarker(val description: String = "")

This annotation is used to mark an annotation as being equivalent using ComposableTarget with the fully qualified name of the marked annotation as the applier value. See ComposableTarget for when a ComposableTarget annotation is required and when it can be inferred by the Compose compiler plugin.

The description value can be used to supply a string that is used to describe the group of composable function instead of applier parameter of the ComposableTarget. See UiComposable and VectorComposable for examples. If no description is provided, the fully-qualified name of the marked annotation is used instead.

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: