hijri_picker 1.0.3 copy "hijri_picker: ^1.0.3" to clipboard
hijri_picker: ^1.0.3 copied to clipboard

outdated

Hijri calender to pick umm alqura dates support max & min dates.

Hijri Date Picker #

Hijri calender to pick umm alqura dates support max & min dates

Simple Usage طريقة الاستخدام #

Add local to MaterialApp

 localizationsDelegates: [
           GlobalMaterialLocalizations.delegate,
           GlobalWidgetsLocalizations.delegate,
         ],
         supportedLocales: [
           const Locale('ar', 'SA'),
         ],

Internationalizing Flutter apps

 final ummAlquraCalendar picked = await showHijriDatePicker(
       context: context,
       initialDate: selectedDate,
       lastDate: new ummAlquraCalendar()
         ..hYear = 1442
         ..hMonth = 9
         ..hDay = 25,
       firstDate: new ummAlquraCalendar()
         ..hYear = 1438
         ..hMonth = 12
         ..hDay = 25,
       initialDatePickerMode: DatePickerMode.day,
     );

As Widget استخدام كـ #

              HijriMonthPicker(
                lastDate: new UmmAlquraCalendar()
                  ..hYear = 1445
                  ..hMonth = 9
                  ..hDay = 25,
                firstDate: new UmmAlquraCalendar()
                  ..hYear = 1438
                  ..hMonth = 12
                  ..hDay = 25,
                onChanged: (UmmAlquraCalendar value) {
                  setState(() {
                    selectedDate = selectedDate;
                  });
                },
                selectedDate: selectedDate,
              )

Screenshots صور #

by #

Ahmed Aljoaid

64
likes
40
pub points
86%
popularity

Publisher

unverified uploader

Hijri calender to pick umm alqura dates support max & min dates.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

Dependencies

flutter, hijri

More

Packages that depend on hijri_picker