Class

IconSizes

A set of named icon sizes.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public class IconSizes(
    public val small: Dp = 32.dp,
    public val medium: Dp = 40.dp,
    public val large: Dp = 48.dp,
)

A set of named icon sizes.

Sizes can be provided using LocalIconSize to set the size for Icons within a component, or they can be set explicitly using androidx.compose.foundation.layout.size.

Functions

copy

public fun copy(
        small: Dp = this.small,
        medium: Dp = this.medium,
        large: Dp = this.large,
    ): IconSizes

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