hebrew_date_picker 0.4.0
hebrew_date_picker: ^0.4.0 copied to clipboard
A Material-style date picker that shows the Hebrew (Jewish) date in every day cell, the Hebrew months in the month title and the full Hebrew date of the selected day.
0.4.0 #
- Breaking:
dayModenow decides which calendar the whole picker shows, not only the day cells. WithCalendarMode.gregorianthe header, the month title and the year grid show no Hebrew dates; withCalendarMode.hebrewthey show no Gregorian dates.CalendarMode.both(the default) is unchanged. - Rename
dayModetocalendarModeandDayModetoCalendarMode, to match what they do now. The old names still work but are deprecated, and will be removed in 1.0.0. - With
CalendarMode.hebrewthe calendar pages by Hebrew months instead of Gregorian ones: each page is a whole Hebrew month, titled e.g.תשרי תשפ״ז, with Hebrew weekday letters, and the year grid lists Hebrew years. Selecting a year keeps the Hebrew day and month. - Add screenshots of
CalendarMode.hebrewand of the form fields, and refresh the date picker's screenshot.
0.3.0 #
- Add
HebrewDateFormField: a read-only text field that opens the date picker when tapped, or with Enter or Space when focused, and shows the picked date. It is aFormField, withvalidator,onSavedandonChanged, and its text followsdayModeor a customdateFormatter. A newinitialValuefrom the parent replaces the field's value, so it can follow a date kept outside of it. - Add
HebrewDateRangeFormField, the same for the date range picker. Its default text writes what both ends share once, e.g.Sep 12 – Sep 20, 2026 · א׳–ט׳ תשרי תשפ״ז.
0.2.0 #
- Add
HebrewDateRangePickerandshowHebrewDateRangePickerto pick a range of dates. The header shows the Hebrew dates of the start and the end of the range. - Add
selectableDayPredicateto disable days that can't be picked. - Add
showTodayButtonandtodayTextfor a button that jumps to today and selects it. - Add a screenshot of the range picker.
0.1.1 #
- Add
dayMode(DayMode.both/hebrew/gregorian) to choose what each day cell shows. - Tap the month title to pick a year from a grid that shows the Gregorian and the Hebrew
years. Add
initialDatePickerModeto open the picker on the year grid. - Add
getHebrewYearsOfYeartoHebrewDateExtension. - Add pub.dev topics and a screenshot.
0.1.0 #
- Initial release.
HebrewDatePickerwidget andshowHebrewDatePickerdialog helper.HebrewDateExtensiononDateTime:getHebrewDateFormatted,getHebrewDayOfMonth,getHebrewMonthsOfMonth.
