Last updated:
0 purchases
hijri picker
Hijri Date Picker #
Flutter Widget & Picker to select Hijri (Isalmic Calendar) date
Screenshots صور #
Simple Usage طريقة الاستخدام #
Add local to MaterialApp
localizationsDelegates: [
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
],
supportedLocales: [
const Locale('ar', 'SA'),
],
copied to clipboard
Internationalizing Flutter apps
final HijriCalendar? picked = await showHijriDatePicker(
context: context,
initialDate: selectedDate,
lastDate: HijriCalendar()
..hYear = 1442
..hMonth = 9
..hDay = 25,
firstDate: HijriCalendar()
..hYear = 1438
..hMonth = 12
..hDay = 25,
initialDatePickerMode: DatePickerMode.day,
);
copied to clipboard
As Widget استخدام كـ #
HijriMonthPicker(
lastDate: HijriCalendar()
..hYear = 1445
..hMonth = 9
..hDay = 25,
firstDate: HijriCalendar()
..hYear = 1438
..hMonth = 12
..hDay = 25,
onChanged: (HijriCalendar value) {
setState(() {
selectedDate = selectedDate;
});
},
selectedDate: selectedDate,
)
copied to clipboard
by #
Ahmed Aljoaid
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.