arabic_justified_text
1.0.4, released 5 months ago by an unverified publisher
Flutter widgets for beautiful Arabic text justification using Kashida instead of spaces.
What it does
Provides customized text and rich text widgets designed specifically for Arabic typography. It intelligently distributes Kashida characters across words to achieve justification while preserving diacritics and automatically excluding sacred words like Allah.
AI-written summary of version 1.0.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need justified Arabic text layout in your Flutter app.
- You want to avoid awkward wide spaces between words in Arabic paragraphs.
- You need to handle Arabic diacritics (Tashkeel) and mixed text properly.
Skip it when
- You are using ArabicJustifiedRichText and require WidgetSpan support inside your text.
- You need high performance with extremely long texts exceeding 10,000 characters.
Strengths
- Smart Kashida distribution instead of extra spaces
- Automatic exclusion of sacred words like Allah and custom word lists
- Supports diacritics, mixed text, and line breaks
Weaknesses
- ArabicJustifiedRichText does not support WidgetSpan
- Last word wrapping issues can occur with certain Quranic fonts
- Performance may degrade with extremely large blocks of text
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
None
import 'package:arabic_justified_text/arabic_justified_text.dart';
ArabicJustifiedText(
'في عالم التكنولوجيا الحديثة، أصبحت تطبيقات الهاتف المحمول جزءاً أساسياً من حياتنا اليومية.',
)Alternatives
Packages that do the same job and could replace arabic_justified_text.
- dartarabic
A Dart library providing functions to manipulate Arabic letters, diacritics, and text.
49Compare
Works with
Packages commonly used together with arabic_justified_text: ones it builds on, ones built on it, and its own family.