rememberVariableIconFont
fun
Deprecated
The base package now supports using the Glance context, this function is now useless and will be removed in the future
Replace with
import dev.tclement.fonticons.rememberVariableIconFont
Content copied to clipboard
rememberVariableIconFont
Content copied to clipboard
Creates a variable IconFont from a file in the assets directory
Parameters
path
full path starting from the assets directory
weights
supported weights for the font
fontVariationSettings
the font variation settings, should not include the optical size ('opsz') and must not include the weight ('wght')
fontFeatureSettings
the font feature settings, written in a CSS syntax