ToggleGroupProps constructor

const ToggleGroupProps({
  1. required List<ToggleGroupItemProps> items,
  2. String? value,
  3. Set<String>? values,
  4. ToggleGroupSelectionType type = ToggleGroupSelectionType.single,
  5. ToggleGroupVariantStyle variant = ToggleGroupVariantStyle.defaultVariant,
  6. ToggleGroupSizeVariant size = ToggleGroupSizeVariant.md,
  7. bool disabled = false,
  8. void onChanged(
    1. String?
    )?,
  9. void onMultiChanged(
    1. Set<String>
    )?,
})

Implementation

const ToggleGroupProps({
  required this.items,
  this.value,
  this.values,
  this.type = ToggleGroupSelectionType.single,
  this.variant = ToggleGroupVariantStyle.defaultVariant,
  this.size = ToggleGroupSizeVariant.md,
  this.disabled = false,
  this.onChanged,
  this.onMultiChanged,
});