LiveLiteralInfo

Class

Common
@ComposeCompilerApi
@Target(AnnotationTarget.FUNCTION)
public annotation class LiveLiteralInfo(val key: String, val offset: Int)

This annotation is applied to functions on the LiveLiteral classes created by the Compose Compiler. It is intended to be used to provide information useful to tooling.

Parameters

keyThe unique identifier for the literal.
offsetThe startOffset of the literal in the source file at the time of compilation.