ZeroTimePickerDialog constructor
const
ZeroTimePickerDialog({
- Key? key,
- required TimeOfDay initialTime,
- String? cancelText,
- String? confirmText,
- String? helpText,
- String? errorInvalidText,
- String? hourLabelText,
- String? minuteLabelText,
- String? restorationId,
- TimePickerEntryMode initialEntryMode = TimePickerEntryMode.dial,
- EntryModeChangeCallback? onEntryModeChanged,
- ZeroTimePickerStyle? style,
Creates a Material Design time picker.
initialTime
must not be null.
Implementation
const ZeroTimePickerDialog({
super.key,
required this.initialTime,
this.cancelText,
this.confirmText,
this.helpText,
this.errorInvalidText,
this.hourLabelText,
this.minuteLabelText,
this.restorationId,
this.initialEntryMode = TimePickerEntryMode.dial,
this.onEntryModeChanged,
this.style,
});