ProvideGlanceIconParameters

fun ProvideGlanceIconParameters(iconFont: IconFont = LocalIconFont.current, size: Dp = LocalIconSize.current, tint: ColorProvider = LocalGlanceIconTint.current, weight: FontWeight = LocalIconWeight.current, content: @Composable () -> Unit)(source)

Deprecated

This function is deprecated to match the core equivalent, use CompositionLocalProvider instead.

Replace with

import androidx.compose.runtime.CompositionLocalProvider
CompositionLocalProvider(LocalIconFont provides iconFont, LocalIconSize provides size, LocalGlanceIconTint provides tint, LocalIconWeight provides weight, content = content)

A shortcut method to set default values for the Glance FontIcon composables. Might be better to use CompositionLocalProvider if it's for setting only one of the default values.