Skip to main content

urdu_toolkit 0.1.0 copy "urdu_toolkit: ^0.1.0" to clipboard
urdu_toolkit: ^0.1.0 copied to clipboard

Urdu and RTL text utilities for Flutter and Dart: transliteration, number and date formatting, Nastaliq-friendly text handling, and a directional text widget.

Changelog #

0.1.0 #

Initial release.

Added #

  • UrduDigits — convert between Western and Urdu-Indic digits, and parse integers and doubles written in either form. Accepts the Arabic decimal separator ٫.
  • UrduDates — format Gregorian dates with Urdu month and weekday names and Urdu digits.
  • Transliterator — rule-based Roman-to-Urdu transliteration, longest match first, with uppercase letters mapping to retroflex counterparts and a word-final special case for hai.
  • UrduTextUtils — detect Arabic-script characters, trim invisible Unicode control characters from the edges of a string, and normalise Arabic letter variants to their Urdu forms where the mapping is unambiguous.
  • UrduText — a Flutter widget that applies RTL when the text contains Arabic-script characters, and optionally applies a Nastaliq font family to Arabic-script glyphs while leaving Latin to the ambient font.
  • 41 tests. Zero analyzer issues under strict casts, inference and raw types.
0
likes
140
points
739
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Urdu and RTL text utilities for Flutter and Dart: transliteration, number and date formatting, Nastaliq-friendly text handling, and a directional text widget.

Repository (GitHub)
View/report issues

Topics

#urdu #rtl #text #i18n #localization

License

MIT (license)

Dependencies

flutter

More

Packages that depend on urdu_toolkit