S2Choice<T> constructor

S2Choice<T>({
  1. required T value,
  2. required String? title,
  3. String? subtitle,
  4. String? group,
  5. bool disabled = false,
  6. bool hidden = false,
  7. dynamic meta,
  8. S2ChoiceStyle? style,
  9. S2ChoiceStyle? activeStyle,
  10. ValueSetter<bool?>? select,
  11. bool selected = false,
})

Default constructor

Implementation

S2Choice({
  required this.value,
  required this.title,
  this.subtitle,
  this.group,
  this.disabled = false,
  this.hidden = false,
  this.meta,
  this.style,
  this.activeStyle,
  this.select,
  this.selected = false,
});