Skip to content
pubscout

jhijri_picker

1.0.1, released 3 years ago by jucodes.com

A customizable Hijri and Gregorian date picker widget for Flutter applications.

WASM-ready
$ flutter pub add jhijri_picker
Source repository

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.

Works with

Packages commonly used together with jhijri_picker: ones it builds on, ones built on it, and its own family.