Modifier

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Modifier(val tag: Int, val scopes: KClass<*>)

Annotates a data class which represents a layout modifier for a Widget. Each layout modifier in a Schema must have a unique tag among all Modifier annotations in the Schema. Additionally, each layout modifier can be associated with one or more scopes.

@Modifier(1, RowScope::class)
data class RowAlignment(
val value: VerticalAlignment,
)

Properties

Link copied to clipboard
val scopes: Array<out KClass<*>>
Link copied to clipboard
val tag: Int