KinTimePicker constructor

const KinTimePicker({
  1. Key? key,
  2. required TimeOfDay initialTime,
  3. bool use24HourFormat = false,
  4. ValueChanged<TimeOfDay>? onConfirm,
  5. VoidCallback? onCancel,
  6. String title = 'Select Time',
  7. String confirmLabel = 'Confirm',
  8. String cancelLabel = 'Cancel',
})

Implementation

const KinTimePicker({
  super.key,
  required this.initialTime,
  this.use24HourFormat = false,
  this.onConfirm,
  this.onCancel,
  this.title = 'Select Time',
  this.confirmLabel = 'Confirm',
  this.cancelLabel = 'Cancel',
});