sf_symbols
0.6.1, released 3 months ago by hanshi.tech
Use Apple's SF Symbols on iOS and macOS in Flutter.
What it does
Provides a Flutter widget that renders Apple's SF Symbols on iOS and macOS using native pixel buffers and textures. Supports rendering modes, variable values, scale, accessibility labels, caching, and symbol animations.
AI-written summary of version 0.6.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- Building an iOS or macOS app in Flutter that requires native SF Symbols
- Needing animated SF Symbol effects like bounce, pulse, or variable color
Skip it when
- Targeting Android, Windows, or web platforms where SF Symbols are unsupported
- Needing a cross-platform icon set that works identically across all operating systems
Strengths
- Native SF Symbols support with full access to weights, scales, and rendering modes
- Supports symbol animations and variable values on supported OS versions
- Efficient texture sharing and precaching for lists and repeated icons
Weaknesses
- Limited to iOS and macOS; draws nothing on other platforms
- Requires recent OS versions for advanced effects (iOS 17+ / macOS 14+)
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Requires iOS 15.0+ or macOS 12.0+ and Swift Package Manager or CocoaPods.
SfSymbol(
name: 'camera.aperture',
weight: FontWeight.w900,
color: Colors.pink,
size: 40,
)Alternatives
Packages that do the same job and could replace sf_symbols.
- cupertino_icons
If you need a cross-platform set of Cupertino-style icons that work on Android and web as well as Apple platforms.
93Compare
Works with
Packages commonly used together with sf_symbols: ones it builds on, ones built on it, and its own family.