DateTimePickerWidget constructor Null safety

DateTimePickerWidget(
  1. {Key? key,
  2. bool showTitleActions = true,
  3. TitleActionTheme? titleActionTheme,
  4. ValueChanged<DateTime>? onConfirm,
  5. GestureTapCallback? onCancel,
  6. String? cancel,
  7. String? confirm,
  8. String? title,
  9. required PickerTheme pickerTheme,
  10. required BaseDateTimeModel pickerModel,
  11. ValueChanged<DateTime>? onDateTimeChanged,
  12. ParamsBuilder<EdgeInsetsGeometry>? paddingBuilder,
  13. ParamsBuilder<Widget>? selectionOverlayBuilder,
  14. Widget? header,
  15. Widget? footer,
  16. Widget? pickerOverlay}
)

Implementation

DateTimePickerWidget({
  Key? key,
  this.showTitleActions = true,
  this.titleActionTheme,
  this.onConfirm,
  this.onCancel,
  this.cancel,
  this.confirm,
  this.title,
  required this.pickerTheme,
  required this.pickerModel,
  this.onDateTimeChanged,
  this.paddingBuilder,
  this.selectionOverlayBuilder,
  this.header,
  this.footer,
  this.pickerOverlay,
}) : super(key: key);