KinTimePicker constructor
const
KinTimePicker({
- Key? key,
- required TimeOfDay initialTime,
- bool use24HourFormat = false,
- ValueChanged<
TimeOfDay> ? onConfirm, - VoidCallback? onCancel,
- String title = 'Select Time',
- String confirmLabel = 'Confirm',
- 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',
});