DurationFormField.ofDuration constructor

DurationFormField.ofDuration({
  1. Key? key,
  2. required JsonPath durationAttribute,
  3. required bool isRequired,
  4. Key? widgetKey,
  5. Formatter<TimeSpan?>? formatter,
  6. ValueChanged<TimeSpan?>? onChanged,
  7. String? label,
})

Implementation

DurationFormField.ofDuration({
  Key? key,
  required this.durationAttribute,
  required this.isRequired,
  this.widgetKey,
  this.formatter,
  this.onChanged,
  this.label,
}) : super(key: key);