ThemePadding¶
@Serializable
data class ThemePadding(
val all: Int = 0,
val horizontal: Int = 0,
val vertical: Int = 0,
val left: Int = 0,
val right: Int = 0,
val top: Int = 0,
val bottom: Int = 0
)
Inner spacing a composable using a theme should reserve around its own content, so e.g. a button's label never renders flush against the button's edges once it grows past ComposableTheme.minSize to fit a longer label.
Constructors¶
ThemePadding¶
Properties¶
all¶
bottom¶
horizontal¶
val horizontal: Int