flutter_sficon
2.0.0, released 3 weeks ago by gle6as.sexy
Tree-shakable vector SF Symbols for every platform without bundled fonts.
What it does
Provides vector path representations of Apple's SF Symbols as static constants usable across all platforms in Flutter. Uses custom widgets to render icons with full weight support while ensuring unused symbols are tree-shaken to minimize app size.
AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to use SF Symbols in a cross-platform Flutter application without bundling Apple fonts that trigger App Store rejections.
- You need tree-shakable icons where only the symbols used are shipped in the final binary.
Skip it when
- You require complex multicolour, hierarchical, or palette SF Symbol rendering modes.
- You want to pass these constants directly into Flutter's default `Icon` widget instead of the package's specific `SFIcon` widget.
Strengths
- No bundled font files, avoiding Apple's ITMS-91182 disallowed font warnings and app build rejections.
- Supports all nine weights from w100 to w900 using Apple's weight masters.
- Tree-shakable vector paths ensure minimal impact on app size.
Weaknesses
- Monochrome only; hierarchical, palette, and multicolour rendering modes are not supported.
- Requires using the custom `SFIcon` widget instead of Flutter's standard `Icon` widget.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import 'package:flutter_sficon/flutter_sficon.dart';
const SFIcon(
SFIcons.sf_heart_fill,
fontSize: 40,
fontWeight: FontWeight.bold,
color: Colors.red,
);Alternatives
Packages that do the same job and could replace flutter_sficon.
- font_awesome_flutter
If you prefer a comprehensive cross-platform icon set like Font Awesome rather than Apple-style iconography.
77Compare - lucide_icons_flutter
If you need a clean, modern set of open-source vector icons instead of SF Symbols.
91Compare - material_symbols_icons
If you want Google's Material Symbols instead of Apple's SF Symbols.
79Compare