TimeDialogProps constructor

const TimeDialogProps({
  1. required String title,
  2. String? message,
  3. TimeOfDay? initialTime,
  4. String confirmText = 'Confirm',
  5. String cancelText = 'Cancel',
  6. void onConfirm(
    1. TimeOfDay time
    )?,
  7. void onCancel()?,
  8. bool use24Hour = false,
  9. int minuteInterval = 1,
  10. bool showSeconds = false,
})

Implementation

const TimeDialogProps({
  required this.title,
  this.message,
  this.initialTime,
  this.confirmText = 'Confirm',
  this.cancelText = 'Cancel',
  this.onConfirm,
  this.onCancel,
  this.use24Hour = false,
  this.minuteInterval = 1,
  this.showSeconds = false,
});