DraftModeFormSegmentedControl<T extends Object> constructor

const DraftModeFormSegmentedControl<T extends Object>({
  1. Key? key,
  2. required DraftModeFormAttribute<T> attribute,
  3. required Map<T, Widget> children,
  4. bool enabled = true,
  5. String? label,
  6. FormFieldSetter<T>? onSaved,
  7. ValueChanged<T?>? onChanged,
})

Implementation

const DraftModeFormSegmentedControl({
  super.key,
  required this.attribute,
  required this.children,
  this.enabled = true,
  this.label,
  this.onSaved,
  this.onChanged,
});