KinDatePicker constructor

const KinDatePicker({
  1. Key? key,
  2. DateTime? initialDate,
  3. DateTime? firstDate,
  4. DateTime? lastDate,
  5. ValueChanged<DateTime>? onConfirm,
  6. VoidCallback? onCancel,
  7. String title = 'Select Date',
  8. String confirmLabel = 'Confirm',
  9. String cancelLabel = 'Cancel',
})

Implementation

const KinDatePicker({
  super.key,
  this.initialDate,
  this.firstDate,
  this.lastDate,
  this.onConfirm,
  this.onCancel,
  this.title = 'Select Date',
  this.confirmLabel = 'Confirm',
  this.cancelLabel = 'Cancel',
});