ArcaneToggleGroup constructor
const
ArcaneToggleGroup({
- String? id,
- required List<
ToggleGroupItem> items, - String? value,
- void onChanged()?,
- ArcaneInteraction? onChangeAction,
- ToggleGroupVariant variant = ToggleGroupVariant.defaultVariant,
- ToggleGroupSize size = ToggleGroupSize.md,
- bool disabled = false,
- ArcaneStyleData? styles,
- ArcaneDecoration? decoration,
- 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;