ToggleGroupProps constructor
const
ToggleGroupProps({
- required List<
ToggleGroupItemProps> items, - String? value,
- Set<
String> ? values, - ToggleGroupSelectionType type = ToggleGroupSelectionType.single,
- ToggleGroupVariantStyle variant = ToggleGroupVariantStyle.defaultVariant,
- ToggleGroupSizeVariant size = ToggleGroupSizeVariant.md,
- bool disabled = false,
- void onChanged()?,
- void onMultiChanged()?,
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,
});