Class

ComponentSpacingValues

A set of named component spacing values for GlimmerTheme.

Source set: Android
public class ComponentSpacingValues(
    public val extraSmall: Dp = 6.dp,
    public val small: Dp = 8.dp,
    public val medium: Dp = 12.dp,
    public val large: Dp = 16.dp,
    public val extraLarge: Dp = 20.dp,
)

A set of named component spacing values for GlimmerTheme.

These values are used to ensure consistent spacing across Jetpack Compose Glimmer components. This includes component paddings, spacing between components, and other spacing elements.

Functions

copy

Source set: Android
public fun copy(
        extraSmall: Dp = this.extraSmall,
        small: Dp = this.small,
        medium: Dp = this.medium,
        large: Dp = this.large,
        extraLarge: Dp = this.extraLarge,
    ): ComponentSpacingValues

Returns a copy of this ComponentSpacingValues, optionally overriding some of the values.

equals

Source set: Android
override fun equals(other: Any?): Boolean

hashCode

Source set: Android
override fun hashCode(): Int

toString

Source set: Android
override fun toString(): String
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: