date_x library
Core date conversion API — safe to import alongside other packages.
For BLoC support, use package:format_date_x/date_x_bloc.dart separately.
Classes
- BuiltInFormats
- Built-in date format definitions keyed by short name.
- DateFormatter
- Formats and parses dates using registered format keys.
- DateX
- Main entry point for date conversion, formatting, and parsing.
- FormatParser
-
Parses two-word format strings like
iso→displayorus->eu. - FormatParseResult
- Result of parsing a two-word format string.
- FormatRegistry
- Registry of built-in and custom date format patterns.