ethiopian_date_picker 0.0.4
ethiopian_date_picker: ^0.0.4 copied to clipboard
A customizable Ethiopian date picker for Flutter with localization.
CHANGELOG
0.0.4 - 2025-08-26
- Fixed year selection issue.
- Updated EthiopianDate class with equality and hashCode overrides. 0.0.3 - 2025-08-26
- Fixed date selection issue.
- Updated EthiopianDate class with equality and hashCode overrides. 0.0.2 – 2025-08-26
Bug Fixes & Improvements
Fixed intermittent date selection issue:
Added value-based equality (== and hashCode) in EthiopianDate to ensure selected dates are recognized consistently.
Resolves the issue where tapping a date sometimes required multiple clicks.
Improved tap reliability:
Updated GestureDetector in CalendarGrid with HitTestBehavior.opaque to ensure all taps are detected.
EthiopianDate enhancements:
Added optional compareTo, isBefore, isAfter helpers for cleaner date comparisons.
Month navigation now optionally preserves the day when moving between months.
Marked EthiopianDate as immutable for safer usage.
0.0.1 – Initial Release
Features
Bidirectional Calendar Conversion: Accepts Gregorian dates for input (initialDate, firstDate, lastDate) and returns user-selected dates in Gregorian format.
Ethiopian Calendar Display: Dialog-based Ethiopian date picker for Flutter.
Date Selection: Users can select a specific Ethiopian date.
Month & Year Navigation: Chevron buttons for months; dropdown grid for year selection.
Date Range Constraints: Out-of-range dates are grayed out and unselectable. Navigation respects firstDay and lastDay.
Visual Highlighting: Selected date is highlighted; firstDay and lastDay styled differently.
Localization Support: Localized month names, day names, title, and buttons for: English (US), Amharic (AM), Oromiffa (OR), Tigrinya (TI), Sidama (SI), Somali (SO). Defaults to English (US).