DialogTime constructor

const DialogTime({
  1. Key? key,
  2. String? title,
  3. required ValueChanged<TimeOfDay> onConfirm,
  4. bool showSeconds = false,
  5. bool use24HourFormat = false,
  6. String confirmText = "Done",
  7. String cancelText = "Cancel",
  8. TimeOfDay? initialTime,
})

Implementation

const DialogTime(
    {super.key,
    this.title,
    required this.onConfirm,
    this.showSeconds = false,
    this.use24HourFormat = false,
    this.confirmText = "Done",
    this.cancelText = "Cancel",
    this.initialTime});