JWesternDatePicker constructor

const JWesternDatePicker({
  1. Key? key,
  2. JDateModel? selectedDate,
  3. JDateModel? startDate,
  4. JDateModel? endDate,
  5. DatePickerMode? pickerMode,
  6. String? okButtonT,
  7. String? cancelButtonT,
  8. Widget? headerTitle,
  9. dynamic onOk(
    1. HijriDate datetime
    )?,
  10. dynamic onChange(
    1. HijriDate datetime
    )?,
  11. VoidCallback? onCancel,
  12. ThemeData? themeD,
  13. Color? primaryColor,
  14. Color? backgroundColor,
  15. Color? calendarTextColor,
  16. Color? buttonTextColor,
  17. Radius? borderRadius,
  18. Widget? buttons,
  19. WidgetType widgetType = WidgetType.JDialog,
  20. TextDirection? textDirection,
  21. Locale? locale,
})

Implementation

const JWesternDatePicker(
    {Key? key,
    this.selectedDate,
    this.startDate,
    this.endDate,
    this.pickerMode,
    this.okButtonT,
    this.cancelButtonT,
    this.headerTitle,
    this.onOk,
    this.onChange,
    this.onCancel,
    this.themeD,
    this.primaryColor,
    this.backgroundColor,
    this.calendarTextColor,
    this.buttonTextColor,
    this.borderRadius,
    this.buttons,
    this.widgetType = WidgetType.JDialog,
    this.textDirection,
    this.locale})
    : super(key: key);