TimePicker constructor
const
TimePicker({
- Key? key,
- required TimeOfDay? value,
- ValueChanged<
TimeOfDay?> ? onChanged, - PromptMode mode = PromptMode.dialog,
- Widget? placeholder,
- AlignmentGeometry? popoverAlignment,
- AlignmentGeometry? popoverAnchorAlignment,
- EdgeInsetsGeometry? popoverPadding,
- bool? use24HourFormat,
- bool showSeconds = false,
- Widget? dialogTitle,
- bool? enabled,
Implementation
const TimePicker({
super.key,
required this.value,
this.onChanged,
this.mode = PromptMode.dialog,
this.placeholder,
this.popoverAlignment,
this.popoverAnchorAlignment,
this.popoverPadding,
this.use24HourFormat,
this.showSeconds = false,
this.dialogTitle,
this.enabled,
});