ArcaneToggleGroup constructor

const ArcaneToggleGroup({
  1. String? id,
  2. required List<ToggleGroupItem> items,
  3. String? value,
  4. void onChanged(
    1. String?
    )?,
  5. ArcaneInteraction? onChangeAction,
  6. ToggleGroupVariant variant = ToggleGroupVariant.defaultVariant,
  7. ToggleGroupSize size = ToggleGroupSize.md,
  8. bool disabled = false,
  9. ArcaneStyleData? styles,
  10. ArcaneDecoration? decoration,
  11. Key? key,
})

Implementation

const ArcaneToggleGroup({
  this.id,
  required this.items,
  this.value,
  this.onChanged,
  this.onChangeAction,
  this.variant = ToggleGroupVariant.defaultVariant,
  this.size = ToggleGroupSize.md,
  this.disabled = false,
  this.styles,
  this.decoration,
  super.key,
})  : type = ToggleGroupType.single,
      values = null,
      onMultiChanged = null;