persian_datetime_picker
library
Functions
-
jalaliStringToGregorianString(String? jalaliDateString, String seprator)
→ String?
-
-
parseCompactJalaliDate(String? inputString)
→ Jalali?
-
-
showPersianDatePicker({required BuildContext context, Jalali? initialDate, required Jalali firstDate, required Jalali lastDate, Jalali? currentDate, PersianDatePickerEntryMode initialEntryMode = PersianDatePickerEntryMode.calendar, PersianSelectableDayPredicate? selectableDayPredicate, String? helpText, String? cancelText, String? confirmText, Locale? locale, bool barrierDismissible = true, Color? barrierColor, String? barrierLabel, bool useRootNavigator = true, RouteSettings? routeSettings, TextDirection? textDirection, TransitionBuilder? builder, PersianDatePickerMode initialDatePickerMode = PersianDatePickerMode.day, String? errorFormatText, String? errorInvalidText, String? fieldHintText, String? fieldLabelText, TextInputType? keyboardType, Offset? anchorPoint, ValueChanged<PersianDatePickerEntryMode>? onDatePickerModeChange, Icon? switchToInputEntryModeIcon, Icon? switchToCalendarEntryModeIcon})
→ Future<Jalali?>
-
Shows a dialog containing a Material Design date picker.
-
showPersianDateRangePicker({required BuildContext context, JalaliRange? initialDateRange, required Jalali firstDate, required Jalali lastDate, Jalali? currentDate, PersianDatePickerEntryMode initialEntryMode = PersianDatePickerEntryMode.calendar, String? helpText, String? cancelText, String? confirmText, String? saveText, String? errorFormatText, String? errorInvalidText, String? errorInvalidRangeText, String? fieldStartHintText, String? fieldEndHintText, String? fieldStartLabelText, String? fieldEndLabelText, Locale? locale, bool barrierDismissible = true, Color? barrierColor, String? barrierLabel, bool useRootNavigator = true, RouteSettings? routeSettings, TextDirection? textDirection, TransitionBuilder? builder, Offset? anchorPoint, TextInputType keyboardType = TextInputType.datetime, Icon? switchToInputEntryModeIcon, Icon? switchToCalendarEntryModeIcon, required Jalali initialDate})
→ Future<JalaliRange?>
-
Shows a full screen modal dialog containing a Material Design date range
picker.