rememberStaticIconFont

fun rememberStaticIconFont(vararg fonts: Font, fontFeatureSettings: String? = null): StaticIconFont(source)

Creates a static IconFont using a list of Font objects. Multiple fonts might be provided to support multiple weights.

Parameters

fonts

the font(s) used to draw the icons

fontFeatureSettings

the font feature settings, written in a CSS syntax


fun rememberStaticIconFont(font: Font, fontFeatureSettings: String? = null): StaticIconFont(source)

Creates a static IconFont using a Font.

Parameters

font

the font used to draw the icons

fontFeatureSettings

the font feature settings, written in a CSS syntax


fun rememberStaticIconFont(fontResource: FontResource, fontFeatureSettings: String? = null): StaticIconFont(source)

Creates a static IconFont using a Compose Multiplatform FontResource.

Parameters

fontResource

the font resource used to draw the icons

fontFeatureSettings

the font feature settings, written in a CSS syntax