JGlobalDatePicker constructor
const
JGlobalDatePicker({
- Key? key,
- PickerType pickerType = PickerType.JHijri,
- JDateModel? startDate,
- JDateModel? endDate,
- JDateModel? selectedDate,
- DatePickerMode? pickerMode,
- Widget? headerTitle,
- dynamic onOk(
- JPickerValue datetime
- dynamic onChange(
- JPickerValue datetime
- VoidCallback? onCancel,
- Color? primaryColor,
- Color? backgroundColor,
- Color? calendarTextColor,
- Color? buttonTextColor,
- Radius? borderRadius,
- Widget? buttons,
- WidgetType widgetType = WidgetType.JDialog,
- TextDirection? textDirection,
- Locale? locale,
- Color? cancelButtonColor,
- Color? okButtonColor,
- SelectableDayPredicate? selectableDayPredicate,
- JSelectableDayPredicate? jSelectableDayPredicate,
- String? okButtonText,
- String? cancelButtonText,
- ThemeData? pickerTheme,
Implementation
const JGlobalDatePicker(
{Key? key,
this.pickerType = PickerType.JHijri,
this.startDate,
this.endDate,
this.selectedDate,
this.pickerMode,
this.headerTitle,
this.onOk,
this.onChange,
this.onCancel,
this.primaryColor,
this.backgroundColor,
this.calendarTextColor,
this.buttonTextColor,
this.borderRadius,
this.buttons,
this.widgetType = WidgetType.JDialog,
this.textDirection,
this.locale,
this.cancelButtonColor,
this.okButtonColor,
this.selectableDayPredicate,
this.jSelectableDayPredicate,
this.okButtonText,
this.cancelButtonText,
this.pickerTheme})
: super(key: key);