BoxTileSchema
data class BoxTileSchema(val id: String, val tiles: SerializableImmutableList<TileSchema>, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val alignment: AlignmentSchema.TwoDimensional) : TileSchema
Renders a Compose Box that stacks its tiles on top of each other in declaration order (later children paint above earlier ones), positioning all of them with alignment.
Triggers dispatched:
OnDisplayEventTrigger— fired once when the tile enters composition (keyed by tile id).OnClickEventTrigger— fired when the box is tapped.OnLongPressEventTrigger— fired when the box is long-pressed.
Both are wired only when the matching event is declared on this tile; with neither declared, the box is not made interactive at all.
Notes: unlike ColumnTileSchema and RowTileSchema, this tile is never scrollable and publishes no scope CompositionLocal, so children cannot use column/row scope modifiers such as weight.
Constructors
Link copied to clipboard
constructor(id: String, tiles: SerializableImmutableList<TileSchema>, events: SerializableImmutableList<EventSchema>?, style: StyleSchema, searchableTerms: SerializableImmutableList<String>?, visibility: TileSchema.Visibility, alignment: AlignmentSchema.TwoDimensional)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "searchableTerms")
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard