Package-level declarations

Types

Link copied to clipboard
@Serializable
@SerialName(value = "Button")
data class ButtonTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val text: String, val icon: IconSchema? = null, val buttonType: ButtonTileSchema.Type = Type.FILLED, val shape: ButtonTileSchema.Shape = Shape.ROUNDED, val loading: Boolean = false, val enabled: Boolean = true, val iconPosition: ButtonTileSchema.IconPosition = IconPosition.START) : TileSchema

Renders a Material 3 button. The concrete composable is picked by buttonType: Type.FILLEDButton, Type.ELEVATEDElevatedButton, Type.FILLED_TONALFilledTonalButton, Type.OUTLINEDOutlinedButton, Type.TEXTTextButton.

Link copied to clipboard
@Serializable
@SerialName(value = "FloatingActionButton")
data class FloatingActionButtonTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val icon: IconSchema, val size: FloatingActionButtonTileSchema.Size) : TileSchema

Renders a Material 3 floating action button sized by size: Size.DEFAULTSmallFloatingActionButton, Size.MEDIUMFloatingActionButton, Size.LARGELargeFloatingActionButton. Renders icon with its color, size and style applied.

Link copied to clipboard
@Serializable
@SerialName(value = "IconButton")
data class IconButtonTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val icon: IconSchema, val buttonType: IconButtonTileSchema.Type = Type.DEFAULT, val loading: Boolean = false, val enabled: Boolean) : TileSchema

Renders a Material 3 icon button. The concrete composable is picked by buttonType: Type.DEFAULTIconButton, Type.FILLEDFilledIconButton, Type.FILLED_TONALFilledTonalIconButton, Type.OUTLINEDOutlinedIconButton.