iconify_full 0.1.6
iconify_full: ^0.1.6 copied to clipboard
Offline Iconify icons for Flutter — themed SVG widgets, local cache of 200+ open icon sets, and automatic build-time subsetting so apps only bundle icons they use.
0.1.6 #
Fixed #
- Android: Java-only plugin (no Kotlin) — fixes JVM 17/21 mismatch on APK builds (
compileReleaseKotlinvscompileReleaseJavaWithJavac).
0.1.4 #
Added #
setupIconifyFull— register manifest and optionaldebugCachePathin one call.- Debug cache —
registerIconifyDebugCacheloads SVGs from.iconify_cacheduringflutter runwhen an icon is not in the manifest yet (no subset on every new icon in debug). - Typed icons (subset) —
iconify_subsetgenerateslib/generated/iconify_icons.g.dartwithIconifies.*constants; useIconifyIcon.named(Iconifies.mdi_home). - Full catalog typing —
dart run iconify_full:iconify_codegengenerates per-set classes (Mdi.home,Solar.star_bold, …) from your downloaded cache underlib/generated/iconify_catalog/. IconifyIconRefandIconifyIcon.namedfor compile-time typed icons.- Scanner recognizes
IconifyIcon('…'),Iconifies.*,IconifyIcon.named(…), and catalog refs likeMdi.home.
Fixed #
- Solar / mask icons invisible — SVG export no longer replaces
#fff/#000inside<mask>withcurrentColor. Re-runiconify_downloadandiconify_subsetfor affected sets (e.g.solar). - Tint applied via
SvgPicturecolorFilterinstead of wrapping inColorFiltered(better SVG rendering).
Migration from 0.1.3 #
- Bump dependency:
iconify_full: ^0.1.4 - Optional: switch
registerIconifyManifesttosetupIconifyFull(..., debugCachePath: '.iconify_cache') - If you use Solar or other mask-based sets, re-download and subset:
dart run iconify_full:iconify_download -p solar --force dart run iconify_full:iconify_subset
0.1.3 #
- Fix: Desktop subset runs before
flutter_assembleso SVGs are included influtter_assets. - Subset writes explicit asset paths in
pubspec.yaml(fixes Flutter not bundlingassets/iconify/*subfolders). - Fix
iconify_apply_hooksDart analyze error (CMakeFLUTTER_MANAGED_DIRanchor uses raw string).
0.1.2 #
- CMake /
iconify_apply_hooks: try../iconify_full/.iconify_cache(monorepo layout like brewlab). - Scanner: ignore false positives such as
dart:asyncinprefix:namepattern.
0.1.1 #
- Added
iconify_initCLI to createlib/generated/iconify_manifest.g.dartfor new apps. - Fixed desktop CMake hooks: runner defines
iconify_subsettarget (any app name). iconify_apply_hooksdetects anyproject(...)line and upgrades old runner patches.- Subset writes an empty manifest when no icons are found (with guidance).
0.1.0 #
- Initial release.
- Offline download of all Iconify open icon sets to
.iconify_cache. - Themed SVG rendering via
IconifyIconandIconifyTheme. - Build-time subsetting: only referenced icons are bundled.
- Automatic subset on Android/iOS builds (Flutter plugin).
- CLI:
iconify_download,iconify_subset,iconify_apply_hooks,iconify_build. - Desktop CMake hooks via
iconify_apply_hooks.