hijri_picker
5.0.0, released 6 months ago by an unverified publisher
Hijri (Umm al-Qura) date picker for Flutter using built-in date picker UI.
What it does
Provides a CalendarDelegate for Flutter's built-in date picker UI to select Hijri (Islamic) dates. It supports Flutter's standard showDatePicker, CalendarDatePicker, YearPicker, and InputDatePickerFormField using HijriDateTime values.
AI-written summary of version 5.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a Hijri (Umm al-Qura) date picker integrated into standard Material 3 date picker components.
- You want to use Flutter's native date picker UI, dialogs, and text input forms with Islamic calendar dates.
Skip it when
- You are using a Flutter version older than 3.32.0.
- You require custom day/weekday widget builders, which were removed in version 5.0.0.
Strengths
- Leverages Flutter's built-in date picker UI and CalendarDelegate API.
- Full Material 3 theming support via DatePickerThemeData.
- Supports both calendar and text-input entry modes.
Weaknesses
- Requires Flutter >=3.32.0.
- Custom day/weekday builders are not supported in v5.0.0.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Register standard material localization delegates in MaterialApp.
final HijriDateTime? picked = await showHijriDatePicker(
context: context,
initialDate: HijriDateTime.now(),
firstDate: HijriDateTime(1440, 1, 1),
lastDate: HijriDateTime(1455, 12, 29),
);Alternatives
Packages that do the same job and could replace hijri_picker.
- date_picker_timeline
Flutter date picker library that renders a calendar as a horizontal timeline.
78Compare - calendar_date_picker2
A customizable Flutter calendar picker with single, multi, and range selection modes.
83Compare - vph_web_date_picker
Flutter date picker package designed for web applications.
58Compare - datepicker_dropdown
A customizable dropdown date picker widget for Flutter with localization and form validation.
64Compare
Works with
Packages commonly used together with hijri_picker: ones it builds on, ones built on it, and its own family.