arabic_numbers
1.0.0, released 5 years ago by fathaaah.com
Convert integers or strings to Arabic numeral representation
What it does
The package exposes an ArabicNumbers class that can convert an int or string into its Arabic numeral string. It returns the Arabic digit string for the given value.
AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display numbers in Arabic script in a Flutter app
- You want a quick, dependency‑free way to convert numeric values to Arabic digits
Skip it when
- You need full locale‑aware number formatting or other internationalization features
Strengths
- Simple API, no external dependencies
- Null‑safe, works on all supported platforms
- Zero setup required
Weaknesses
- Only handles numeric conversion, no formatting options
- No support for locale‑specific formatting or other numeral systems
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
final arabic = ArabicNumbers();
print(arabic.convert(7)); // ٧Alternatives
Packages that do the same job and could replace arabic_numbers.
- hijri
Convert between Hijri (Umm al‑Qura) and Gregorian dates with locale support.
66Compare - moment_dart
Multi-purpose immutable DateTime subclass supporting multiple localizations and duration formatting.
85Compare - fraction
Create, parse, and perform arithmetic operations with fractions and mixed fractions.
83Compare - dart_helper_utils
Dart extensions and helpers for maps, strings, collections, dates, async, and intl formatting.
80Compare