persian_datetime_picker
3.2.0, released a year ago by an unverified publisher
A Persian (Jalali, Shamsi) date and time picker for Flutter, inspired by Material Design.
What it does
Provides fully customizable Material and Cupertino date and time pickers for the Persian (Jalali) calendar. It supports multiple languages including Persian, Dari, Kurdish, and Pashto, alongside Material 3 compatibility.
AI-written summary of version 3.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to collect Persian (Jalali) dates and times in a Flutter app.
- Your app requires localization for Persian, Dari, Pashto, or Kurdish calendars.
Skip it when
- Your app exclusively uses the Gregorian calendar.
- You are not using the Flutter framework.
Strengths
- Full support for the Persian (Jalali) calendar and holidays
- Material 3 and Cupertino design support
- Multi-language support for Persian, Dari, Kurdish, and Pashto
Weaknesses
- Limited to specific calendars like Jalali
- Requires manual addition of localizations delegates to MaterialApp
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Add the dependency to pubspec.yaml and configure the localization delegates in your MaterialApp.
Jalali? picked = await showPersianDatePicker(
context: context,
initialDate: Jalali.now(),
firstDate: Jalali(1385, 8),
lastDate: Jalali(1450, 9),
);Alternatives
Packages that do the same job and could replace persian_datetime_picker.
- ir_datetime_picker
Jalali, Gregorian, and time pickers with Cupertino style and responsive UI.
68Compare - omni_datetime_picker
A datetime picker package with option for a single datetime picker or a datetime range picker.
87Compare - date_field
A form field widget for picking dates and times with adaptive Material and Cupertino dialogs
75Compare - flex_color_picker
Customizable Flutter color picker widget with material palettes, custom swatches, and HSV wheel.
84Compare
Works with
Packages commonly used together with persian_datetime_picker: ones it builds on, ones built on it, and its own family.