dirham_symbol 0.3.2 copy "dirham_symbol: ^0.3.2" to clipboard
dirham_symbol: ^0.3.2 copied to clipboard

A Flutter package for displaying the UAE Dirham currency with a new Dirham symbol, customizable widgets, and extension methods for clean price formatting.

Changelog #

All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.


0.3.2 - 2025-10-29 #

Added #

  • Extension Methods for num and String:
    • .toDirham() → clean and quick price display
    • .toDirhamText() → inline promotional text support
    • .toDirhamRange() → for displaying min–max price ranges
  • InlineDirhamText Widget for embedding prices in sentences
  • Improved Symbol Rendering — supports custom size, color, and style
  • Adaptive Light/Dark Mode for better theme consistency
  • Backward Compatibility with version 0.2.7

Updated #

  • Smarter symbol positioning logic (auto-detect before/after)
  • Enhanced documentation and examples for better developer experience
  • Updated README.md and pub.dev description with cleaner examples

0.2.7 - 2025-10-27 #

🏁 Initial Release #

  • Introduced Dirham symbol as an SVG widget (DirhamIcon)
  • Added DirhamPrice and DirhamPriceRange widgets
  • Support for symbol positioning (before or after price)
  • Included decimal support and automatic number formatting
  • Full customization via TextStyle
  • Published under the MIT License

Dirham Symbol — built with ❤️ for the Flutter community.

3
likes
160
points
40
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for displaying the UAE Dirham currency with a new Dirham symbol, customizable widgets, and extension methods for clean price formatting.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_svg, intl

More

Packages that depend on dirham_symbol