flutter_icons_sk 1.0.0
flutter_icons_sk: ^1.0.0 copied to clipboard
A Flutter package for rendering remote SVG icons dynamically with support for multiple icon families. Built on top of flutter_svg for optimal performance and caching.
1.0.0 #
First stable release.
Breaking Changes #
- Renamed
IconFamily.antDesignOutinedtoIconFamily.antDesignOutlined(typo fix). errorWidgetis now honored: when a network icon fails to load, the providederrorWidget(or a new default broken-image fallback) is shown. Previously the parameter was accepted but silently ignored.
New Icon Families #
- Font Awesome Solid icons —
SKIcon.fontas(...) - Tabler Outline icons —
SKIcon.tabo(...) - Lucide icons —
SKIcon.lucide(...) - Material Design Icons (community) —
SKIcon.mdi(...)
Added #
IconFamilyis now exported from the package, so theSKIcon(...)constructor can be used directly without importingsrc/.sizeparameter onSKIcon, all static helpers, andSKIcon.custom— a convenient shorthand that sets both width and height for square icons.headersparameter onSKIconandSKIcon.customfor authenticated or custom HTTP requests.- All static family helpers (
SKIcon.feather,SKIcon.heroo, ...) now acceptplaceholderanderrorWidget. IconFamily.label— a human readable name for each family.IconFamily.urlFor(iconName)— resolves the full SVG URL for an icon name.- Icon names may now include a trailing
.svg; it is normalized automatically. - Real test suite covering URL building,
copyWith, helper-to-family mapping, and placeholder/loading behavior.
Fixed #
- Radix Icons pointed at the upstream repository's deleted
masterbranch, so everySKIcon.radix(...)icon failed to load. The base URL now usesmain.
Example App #
- New global icon search page: debounced search across every family with results grouped per family and quick navigation to the full family page.
- Family pages and search results now render lazily with sliver grids, keeping large families (Material Design Icons has 7,447 entries) scrollable and fast.
- Icon search field is now available on mobile widths too.
- Added browsable pages for Font Awesome Solid, Tabler Outline, Lucide, Material Design Icons, Icons8 Line Awesome, Ionicons, and css.gg.
- Every family's icon list is now generated from the upstream GitHub repository instead of being hand-maintained, so the browsable names always match the actual SVG files (previously several families listed only a subset).
- Fixed wrong usage snippets shown for Box Icons Regular/Solid.
- The example now depends on the package via a path dependency.