Overview
The persian_fonts package provides easy integration of popular free Persian fonts—Vazir, Samim, Shabnam, and Sahel—into Flutter applications. It simplifies the process of loading and using these fonts across multiple platforms, including Android, iOS, Web, macOS, Windows, and Linux. Designed for developers targeting Persian-speaking audiences, it ensures consistent typography without manual font file management. The package is lightweight and compatible with Flutter’s font system.
Use cases
- Displaying Persian text with native-looking fonts
- Building apps for Iranian or Persian-speaking users
- Ensuring consistent typography in multilingual apps
- Customizing UI with culturally appropriate fonts
- Simplifying font asset integration in Flutter projects
Key features
- Supports Vazir, Samim, Shabnam, and Sahel fonts
- Cross-platform compatibility
- Easy setup via pub add command
- No need to manually manage font files
- Built-in font configuration for Flutter
- Free and open-source
Suitable for
- Flutter developers targeting Persian audiences
- Apps requiring accurate Persian typography
- Projects needing minimal font setup
- Open-source projects with budget constraints
- Developers seeking quick localization for Persian language
Considerations
- Fonts are limited to four specific families
- May require additional styling for advanced typographic control
- Not suitable for non-Persian text-heavy apps
- Depends on external GitHub repository
- Font licensing should be reviewed for commercial use
