C2Choice<T> constructor
const
C2Choice<T> ({
- required T value,
- required String label,
- String? tooltip,
- bool disabled = false,
- dynamic meta,
- C2ChoiceStyle? style,
- C2ChoiceStyle? activeStyle,
- dynamic select(
- bool selected
- bool selected = false,
Default Constructor
Implementation
const C2Choice({
required this.value,
required this.label,
this.tooltip,
this.disabled = false,
this.hidden = false,
this.meta,
this.style,
this.activeStyle,
this.select,
this.selected = false,
}) : assert(disabled != null),
assert(hidden != null);