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