Property

LocalIconSize

CompositionLocal containing the preferred size of an icon.

Source set: Android
public val LocalIconSize: ProvidableCompositionLocal<Dp> =
    compositionLocalOf(structuralEqualityPolicy()) { GlimmerTheme._iconSizes.medium }

CompositionLocal containing the preferred size of an icon. This value will be used by Icon by default - it can be overridden with a size modifier.

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: