DraftModeUISegmentedControlField<T extends Object> constructor

const DraftModeUISegmentedControlField<T extends Object>({
  1. Key? key,
  2. required Map<T, Widget> children,
  3. required DraftModePlatformStyle platformStyle,
  4. T? groupValue,
  5. ValueChanged<T?>? onValueChanged,
  6. bool enabled = true,
  7. String? label,
  8. String? errorText,
  9. bool showError = false,
})

Implementation

const DraftModeUISegmentedControlField({
  super.key,
  required this.children,
  required this.platformStyle,
  this.groupValue,
  this.onValueChanged,
  this.enabled = true,
  this.label,
  this.errorText,
  this.showError = false,
});