This page allows you to generate a Kotlin object containing every icon from an icon font file (and optionally to create a subset of this font). Practically, here is what changes when using this:
// Before
FontIcon(iconName = "star_outlined")
// After
FontIcon(icon = MyFontObject.StarOutlined)WARNING
This is a work in progress. The generated code is not yet perfect and will probably require some manual adjustments.
To start using this, import a font file here: