PostItProperty

data class PostItProperty(val size: DpSize, val backgroundColor: Color, val textStyle: TextStyle, val selectionBackgroundColor: Color, val elevation: Dp, val corner: Dp, val padding: Dp) : Property

Represents the properties of a Post-It sticky note, including its size, background color, text style, selection color, elevation, corner radius, and padding.

Parameters

size

The size of the Post-It sticky note.

backgroundColor

The background color of the sticky note.

textStyle

The text style for the text within the sticky note, such as font size and color.

selectionBackgroundColor

The background color when the sticky note is selected.

elevation

The elevation (shadow) applied to the sticky note.

corner

The corner radius for rounded corners of the sticky note.

padding

The padding inside the sticky note to control the spacing between content and borders.

Constructors

Link copied to clipboard
constructor(size: DpSize, backgroundColor: Color, textStyle: TextStyle, selectionBackgroundColor: Color, elevation: Dp, corner: Dp, padding: Dp)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val corner: Dp
Link copied to clipboard
Link copied to clipboard
val padding: Dp
Link copied to clipboard
Link copied to clipboard