advanced_date_formatter 0.0.4
advanced_date_formatter: ^0.0.4 copied to clipboard
A advanced date formatter for flutter
Advanced Date Formatter #
Advanced Date Formatter is a powerful and flexible date and time formatting package for Flutter applications. It provides an easy-to-use API for formatting dates and times with custom patterns, expressing time differences in user-friendly text, and supporting localization for outputs. Optimized for performance, it works efficiently even with large datasets.
Features #
- Custom Date and Time Formats: Format dates and times in various custom patterns (e.g.,
dd/MM/yyyy,yyyy-MM-dd HH:mm:ss). - Time Difference Calculation: Express time differences as user-friendly text (e.g., "2 days ago", "5 hours from now").
- Localization Support: Automatically adjusts the output according to the user's locale.
- Performance Optimized: Lightweight and fast, ensuring efficient performance even with large datasets.
Getting Started #
Requirements #
- Flutter SDK:
>=2.0.0 - Dart SDK:
>=2.12.0
Add the package to your project #
To add the package to your Flutter project, include the following line in your pubspec.yaml file:
dependencies:
advanced_date_formatter: ^1.0.0