Package-level declarations

Types

Link copied to clipboard
@Serializable
@SerialName(value = "Checkbox")
data class CheckboxTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val checked: Boolean, val enabled: Boolean) : TileSchema

Renders a bare Material 3 Checkbox reflecting checked. enabled is forwarded to the composable. The tile draws only the box — no label is rendered, so pair it with a SimpleText inside a Row when a caption is needed.

Link copied to clipboard
@Serializable
@SerialName(value = "DatePicker")
data class DatePickerTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val expanded: Boolean, val selectedDate: String?, val enabled: Boolean, val kind: DatePickerTileSchema.Kind, val confirmLabel: String, val cancelLabel: String, val supportingText: String?, val state: DatePickerTileSchema.State) : TileSchema

Renders a read-only text field that opens a Material 3 DatePickerDialog when tapped. kind picks the field composable: Kind.FILLEDTextField, Kind.OUTLINEDOutlinedTextField. The field always shows a calendar_month leading icon, displays selectedDate (empty when null), forwards enabled and supportingText, and switches to Material's error styling when state is State.ERROR. Typing is impossible — the field is readOnly and its onValueChange is a no-op.

Link copied to clipboard
@Serializable
@SerialName(value = "DropdownList")
data class DropdownListTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val expanded: Boolean, val options: SerializableImmutableList<DropdownListTileSchema.SelectOption>, val selectedOptionId: String, val enabled: Boolean, val kind: DropdownListTileSchema.Kind, val supportingText: String?, val state: DropdownListTileSchema.State) : TileSchema

Renders a Material 3 ExposedDropdownMenuBox: a read-only anchor field showing the label of the currently selected option, plus a dropdown listing every entry in options. kind picks the anchor composable — Kind.FILLEDTextField, Kind.OUTLINEDOutlinedTextField — each with the matching ExposedDropdownMenuDefaults colors and the standard expand/collapse trailing icon. enabled and supportingText are forwarded, and state set to State.ERROR switches the field into Material's error styling.

Link copied to clipboard
@Serializable
@SerialName(value = "RadioButton")
data class RadioButtonTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val selected: Boolean, val enabled: Boolean, val groupId: String) : TileSchema

Renders a bare Material 3 RadioButton reflecting selected. enabled is forwarded to the composable. The tile draws only the radio circle — no label is rendered, so pair it with a SimpleText inside a Row when a caption is needed.

Link copied to clipboard
@Serializable
@SerialName(value = "Switch")
data class SwitchTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val checked: Boolean, val enabled: Boolean) : TileSchema

Renders a bare Material 3 Switch reflecting checked. enabled is forwarded to the composable. The tile draws only the switch — no label or thumb icon is rendered, so pair it with a SimpleText inside a Row when a caption is needed.

Link copied to clipboard
@Serializable
@SerialName(value = "TextField")
data class TextFieldTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val value: String, val enabled: Boolean, val leadingIcon: IconSchema?, val clickableLeadingIcon: Boolean, val trailingIcon: IconSchema?, val clickableTrailingIcon: Boolean, val prefixText: String?, val suffixText: String?, val placeholder: String?, val label: String?, val supportingText: String?, val minLines: Int, val maxLines: Int, val kind: TextFieldTileSchema.Kind, val state: TextFieldTileSchema.State, val keyboardOptions: TextFieldTileSchema.KeyboardOptions?, val visualTransformation: TextFieldTileSchema.VisualTransformation?) : TileSchema

Renders a Material 3 text input field: Kind.FILLEDTextField, Kind.OUTLINEDOutlinedTextField. label, prefixText, suffixText, supportingText and placeholder are rendered only when non-null, enabled, minLines and maxLines are forwarded, and state set to State.ERROR switches the field into Material's error styling.

Link copied to clipboard
@Serializable
@SerialName(value = "TimePicker")
data class TimePickerTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val expanded: Boolean, val selectedTime: String?, val enabled: Boolean, val kind: TimePickerTileSchema.Kind, val confirmLabel: String, val cancelLabel: String, val supportingText: String?, val state: TimePickerTileSchema.State) : TileSchema

Renders a read-only text field that opens a Material 3 TimePickerDialog when tapped. kind picks the field composable: Kind.FILLEDTextField, Kind.OUTLINEDOutlinedTextField. The field always shows an alarm leading icon, displays selectedTime (empty when null), forwards enabled and supportingText, and switches to Material's error styling when state is State.ERROR. Typing is impossible — the field is readOnly and its onValueChange is a no-op.