jhijri_picker
1.0.1, released 3 years ago by jucodes.com
A customizable Hijri and Gregorian date picker widget for Flutter applications.
What it does
Provides a date picker widget and dialog supporting both Hijri and normal calendars with extensive customization options for themes, colors, and layouts.
AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to allow users to select Hijri dates in your Flutter application.
- You want a date picker that supports both Gregorian and Hijri calendar types with customizable UI.
Skip it when
- You only need a standard Gregorian date picker and want to rely solely on built-in Flutter packages.
- You require complex non-calendar form builders.
Strengths
- Supports both Hijri and normal (Gregorian) date selection.
- Highly customizable with options for colors, text direction, and headers.
- Can be used as a simple dialog, a full dialog, or directly embedded as a widget.
Weaknesses
- Requires an external dependency (jhijri) for Hijri converter functionality.
- Documentation is limited primarily to basic README snippets.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Requires adding jhijri converter to pubspec.yaml if using Hijri dates in JDateModel.
Future<HijriDate?> openDialog(BuildContext context) async {
return await showGlobalDatePicker(context: context, pickerType: PickerType.JNormal);
}Alternatives
Packages that do the same job and could replace jhijri_picker.
- datepicker_dropdown
A customizable dropdown date picker widget for Flutter with localization and form validation.
64Compare - omni_datetime_picker
A datetime picker package with option for a single datetime picker or a datetime range picker.
87Compare - calendar_date_picker2
A customizable Flutter calendar picker with single, multi, and range selection modes.
83Compare - board_datetime_picker
Picker to select date and time for Flutter. It is both a calendar and a picker, offering a variety of options as a package.
87Compare
Works with
Packages commonly used together with jhijri_picker: ones it builds on, ones built on it, and its own family.