windows_icon_fallback library
Name-based fallback from WindowsIcons to FluentIcons for WindowsIcon.
This library references every glyph of both icon fonts, so an app that imports it keeps both fonts whole when icons are tree shaken. Passing WindowsIcon.fallbackIcon keeps only the glyphs the app uses.
Functions
-
fluentIconFallback(
IconData icon) → IconData? -
Returns the FluentIcons glyph that has the same name as the
WindowsIcons glyph
icon.