arabic_font
0.0.9, released 4 years ago by abom.me
Flutter package to use Arabic fonts from Google and arbfonts in text widgets
What it does
Provides ArabicTextStyle and ArabicThemeData to apply Arabic fonts to individual Text widgets or the whole app. Supports 24 fonts bundled as assets.
AI-written summary of version 0.0.9, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need Arabic fonts in a Flutter app
- You want to switch fonts globally or per widget
- You prefer a simple API without code generation
Skip it when
- You need dynamic font loading from network
- You require advanced text shaping beyond basic font selection
Strengths
- Easy to add via pubspec
- Supports multiple fonts out of the box
- Works on all platforms (Android, iOS, Web, Desktop)
Weaknesses
- Limited to bundled fonts only
- No support for custom font files at runtime
- No advanced text shaping options
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add arabic_font to dependencies and run flutter pub get
import 'package:arabic_font/arabic_font.dart';
Text('تجربة الخط', style: ArabicTextStyle(arabicFont: ArabicFont.dubai, fontSize:25));Alternatives
Packages that do the same job and could replace arabic_font.
- adaptive_theme
Dynamic light and dark theme switching with persistence for Flutter.
82Compare - flutter_islamic_icons
A collection of 78 Islamic icons for Flutter apps
50Compare - network_font
Load custom fonts from the network without storing them in local asset folders.
45Compare - feather_icons_svg
Feather icons port for Flutter rendering icons as SVG with runtime customization.
44Compare