DurationInput constructor

const DurationInput({
  1. Key? key,
  2. ComponentController<Duration?>? controller,
  3. Duration? initialValue,
  4. ValueChanged<Duration?>? onChanged,
  5. bool enabled = true,
  6. Widget? placeholder,
  7. bool showSeconds = false,
  8. InputPart? separator,
  9. Map<TimePart, Widget>? placeholders,
})

Implementation

const DurationInput({
  super.key,
  this.controller,
  this.initialValue,
  this.onChanged,
  this.enabled = true,
  this.placeholder,
  this.showSeconds = false,
  this.separator,
  this.placeholders,
});