ToggleGroupProps constructor

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

Implementation

const ToggleGroupProps({
  this.id,
  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,
  this.onChangeAction,
  this.styles,
  this.decoration,
});