IntervalTimePickerDialog constructor

const IntervalTimePickerDialog({
  1. Key? key,
  2. required TimeOfDay initialTime,
  3. int interval = 1,
  4. VisibleStep visibleStep = VisibleStep.fifths,
  5. String? cancelText,
  6. String? confirmText,
  7. String? helpText,
  8. String? errorInvalidText,
  9. String? hourLabelText,
  10. String? minuteLabelText,
  11. String? restorationId,
  12. TimePickerEntryMode initialEntryMode = TimePickerEntryMode.dial,
  13. EntryModeChangeCallback? onEntryModeChanged,
})

Creates a Material Design time picker.

initialTime must not be null.

Implementation

const IntervalTimePickerDialog({
  super.key,
  required this.initialTime,
  this.interval = 1,
  this.visibleStep = VisibleStep.fifths,
  this.cancelText,
  this.confirmText,
  this.helpText,
  this.errorInvalidText,
  this.hourLabelText,
  this.minuteLabelText,
  this.restorationId,
  this.initialEntryMode = TimePickerEntryMode.dial,
  this.onEntryModeChanged,
});