by_name library
Look icons up by their hubtoolify.com name, for names that arrive as data (a CMS, an API).
Importing this library keeps every icon in your app, because the map references them all.
Prefer HtiIcons.home when the icon is known when you write the code.
Constants
-
htiIconsByName
→ const Map<
String, HtiIconData> -
Every icon by its hubtoolify.com name:
htiIconsByName['arrow-up-right'].