format_date_x_bloc library

Optional BLoC layer for reactive date operations.

Import only when you need DateXBloc. Core date conversion does not require this file — use package:format_date_x/format_date_x.dart instead.

Classes

ConvertDateEvent
Converts a date string using a two-word format.
DateXBloc
BLoC for reactive date conversion and formatting.
DateXError
State emitted when a date operation fails.
DateXEvent
Base class for all DateXBloc events.
DateXInitial
Initial state before any operation.
DateXLoading
State emitted while a date operation is in progress.
DateXState
Base class for all DateXBloc states.
DateXSuccess
State emitted when a date operation succeeds.
FormatDateTimeEvent
Formats a DateTime using an output format key.
ResetDateXEvent
Resets the bloc to its initial state.