smart_datetime_formatter 0.0.1 copy "smart_datetime_formatter: ^0.0.1" to clipboard
smart_datetime_formatter: ^0.0.1 copied to clipboard

A powerful DateTime formatter with enum patterns, localization, and relative time support.

📅 smart_datetime_formatter #

A powerful and developer-friendly DateTime formatter package for Flutter and Dart.
Built on top of the intl package with added features like:

✅ Enum-based date format patterns
🌍 Built-in localization (English, Bangla, Arabic)
⏱️ Relative time (5 minutes ago, গতকাল, أمس)
📆 Date range formatting (e.g. 12–14 July 2025)
🧩 Extension methods on DateTime for clean usage
📦 Pub.dev ready and production-tested


🚀 Features #

  • Format dates using enums instead of memorizing string patterns
  • Format custom date strings using your own pattern
  • Get relative time like just now, yesterday, ৫ মিনিট আগে, دقيقة مضت
  • Format a date range smartly
  • Localization support (English 🇬🇧, Bangla 🇧🇩, Arabic 🇸🇦)
  • Easily extendable and testable
  • Works seamlessly with Flutter & Dart

🛠 Installation #

Add to your pubspec.yaml:

dependencies:
  smart_datetime_formatter: ^0.0.1
1
likes
110
points
6
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A powerful DateTime formatter with enum patterns, localization, and relative time support.

License

MIT (license)

Dependencies

intl

More

Packages that depend on smart_datetime_formatter