LayoutModifier

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class LayoutModifier(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 LayoutModifier annotations in the Schema. Additionally, each layout modifier must be associated with at least one scope.

@LayoutModifier(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