arabic_converters 1.0.0 copy "arabic_converters: ^1.0.0" to clipboard
arabic_converters: ^1.0.0 copied to clipboard

A Flutter package for converting numbers between Arabic and English, and converting dates between Gregorian and Hijri calendars.

Changelog #

All notable changes to this project will be documented in this file.

1.0.0 - 2024-11-01 #

Added #

  • Initial release
  • Number conversion between Arabic (٠-٩) and English (0-9) digits
  • Date conversion between Gregorian and Hijri calendars
  • Support for formatting dates in Arabic
  • Utility methods for checking digit types
  • Complete documentation and examples
  • Comprehensive test suite
  • Example Flutter application demonstrating all features

Features #

Number Converter

  • Convert English digits to Arabic digits
  • Convert Arabic digits to English digits
  • Convert integers to Arabic digit strings
  • Convert Arabic digit strings to integers
  • Check for Arabic or English digits in strings

Date Converter

  • Convert Gregorian dates to Hijri dates
  • Convert Hijri dates to Gregorian dates
  • Get current date in Hijri calendar
  • Format dates in Arabic with day names and month names
  • Support for Hijri leap years
  • Accurate conversion using astronomical calculations

Hijri Date Model

  • Immutable date representation
  • Arabic and English month names
  • Multiple formatting options
  • Equality and hash code support
2
likes
160
points
49
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package for converting numbers between Arabic and English, and converting dates between Gregorian and Hijri calendars.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on arabic_converters