ComposerLinkPreviewTheme
data class ComposerLinkPreviewTheme(val imageSize: ComponentSize, val imageShape: Shape, val imagePadding: Dp, val separatorSize: ComponentSize, val separatorMarginStart: Dp, val separatorMarginEnd: Dp, val title: TextComponentStyle, val titleToSubtitle: Dp, val subtitle: TextComponentStyle, val cancelIcon: ComposerCancelIconStyle)
Represents the theming for the link preview in the message composer.
Parameters
imageSize
The size of the image in the link preview.
imagePadding
The padding for the image in the link preview.
imageShape
The shape of the image in the link preview.
separatorSize
The size of the separator in the link preview.
separatorMarginStart
The start margin for the separator in the link preview.
separatorMarginEnd
The end margin for the separator in the link preview.
title
The theming for the title in the link preview.
titleToSubtitle
The vertical space between the title and the subtitle in the link preview.
subtitle
The theming for the subtitle in the link preview.
cancelIcon
The theming for the cancel icon in the link preview.
Constructors
Link copied to clipboard
constructor(imageSize: ComponentSize, imageShape: Shape, imagePadding: Dp, separatorSize: ComponentSize, separatorMarginStart: Dp, separatorMarginEnd: Dp, title: TextComponentStyle, titleToSubtitle: Dp, subtitle: TextComponentStyle, cancelIcon: ComposerCancelIconStyle)