ShadToggleGroup<T>.multiple constructor
const
ShadToggleGroup<T>.multiple ({
- Key? key,
- required List<
ShadToggleGroupItem< children,T> > - Set<
T> ? values, - ValueChanged<
Set< ? onChanged,T> > - ShadToggleGroupController<
T> ? controller, - bool enabled = true,
- ShadToggleVariant toggleVariant = ShadToggleVariant.default_,
- double? gap,
- Axis axis = Axis.horizontal,
- MainAxisSize mainAxisSize = MainAxisSize.min,
A group where any number of items may be selected.
Implementation
const ShadToggleGroup.multiple({
super.key,
required this.children,
this.values,
this.onChanged,
this.controller,
this.enabled = true,
this.toggleVariant = ShadToggleVariant.default_,
this.gap,
this.axis = Axis.horizontal,
this.mainAxisSize = MainAxisSize.min,
}) : variant = ShadToggleGroupVariant.multiple,
allowDeselection = true;