DurationPicker constructor

const DurationPicker({
  1. Key? key,
  2. required Duration? value,
  3. ValueChanged<Duration?>? onChanged,
  4. PromptMode mode = PromptMode.dialog,
  5. Widget? placeholder,
  6. AlignmentGeometry? popoverAlignment,
  7. AlignmentGeometry? popoverAnchorAlignment,
  8. EdgeInsetsGeometry? popoverPadding,
  9. Widget? dialogTitle,
  10. 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,
});