MultipleAnswer<T> constructor
const
MultipleAnswer<T> ({})
Creates a MultipleAnswer.
Parameters:
child(Widget, required): Widget tree with choice items.value(Iterable<T>?, optional): Currently selected values.onChanged(ValueChanged<Iterable<T>?>?, optional): Selection callback.enabled(bool?, optional): Whether choices are enabled.allowUnselect(bool?, optional): Allow deselecting all choices.
Implementation
const MultipleAnswer({
super.key,
required this.child,
this.value,
this.onChanged,
this.enabled,
this.allowUnselect,
});