Skip to content
pubscout

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

WASM-ready
$ flutter pub add arabic_font
Source repository

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.