S2Choice<T> constructor
S2Choice<T> ({
- @required T value,
- @required String title,
- String subtitle,
- String group,
- bool disabled = false,
- dynamic meta,
- S2ChoiceStyle style,
- S2ChoiceStyle activeStyle,
- ValueSetter<
bool> select, - 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,
}) : assert(disabled != null),
assert(hidden != null);