ContainerDecoration

data class ContainerDecoration(val border: BorderStroke? = null, val borderRadius: Dp = 0.dp, val shadowElevation: Dp = 0.dp, val tonalElevation: Dp = 0.dp, val shape: Shape? = null, val gradient: Brush? = null, val foregroundColor: Color? = null, val fontSizeOverride: Float? = null)

Basic decoration metadata to keep parity with Flutter's BoxDecoration usage.

Constructors

Link copied to clipboard
constructor(border: BorderStroke? = null, borderRadius: Dp = 0.dp, shadowElevation: Dp = 0.dp, tonalElevation: Dp = 0.dp, shape: Shape? = null, gradient: Brush? = null, foregroundColor: Color? = null, fontSizeOverride: Float? = null)

Properties

Link copied to clipboard
val border: BorderStroke? = null
Link copied to clipboard
Link copied to clipboard
val fontSizeOverride: Float? = null
Link copied to clipboard
val foregroundColor: Color? = null
Link copied to clipboard
val gradient: Brush? = null
Link copied to clipboard
Link copied to clipboard
val shape: Shape? = null
Link copied to clipboard