-
@Immutable() public final class FileAttachmentThemeRepresents the theming for the file attachment component.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classFileAttachmentTheme.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Colorbackgroundprivate final ShapeitemShapeprivate final ShapeimageThumbnailprivate final IconStyledownloadIconStyleprivate final TextStylefileNameTextStyleprivate final TextStylefileMetadataTextStyle
-
Constructor Summary
Constructors Constructor Description FileAttachmentTheme(Color background, Shape itemShape, Shape imageThumbnail, IconStyle downloadIconStyle, TextStyle fileNameTextStyle, TextStyle fileMetadataTextStyle)
-
Method Summary
Modifier and Type Method Description final ColorgetBackground()final ShapegetItemShape()final ShapegetImageThumbnail()final IconStylegetDownloadIconStyle()final TextStylegetFileNameTextStyle()final TextStylegetFileMetadataTextStyle()-
-
Constructor Detail
-
FileAttachmentTheme
FileAttachmentTheme(Color background, Shape itemShape, Shape imageThumbnail, IconStyle downloadIconStyle, TextStyle fileNameTextStyle, TextStyle fileMetadataTextStyle)
- Parameters:
background- The background color for the file attachment.itemShape- The shape for the file attachment.imageThumbnail- The shape for the image thumbnail.downloadIconStyle- The styling for the download icon.fileNameTextStyle- The text style for the file name.fileMetadataTextStyle- The text style for the file metadata.
-
-
Method Detail
-
getBackground
final Color getBackground()
-
getItemShape
final Shape getItemShape()
-
getImageThumbnail
final Shape getImageThumbnail()
-
getDownloadIconStyle
final IconStyle getDownloadIconStyle()
-
getFileNameTextStyle
final TextStyle getFileNameTextStyle()
-
getFileMetadataTextStyle
final TextStyle getFileMetadataTextStyle()
-
-
-
-