ChoiceChipTip<T> constructor
const
ChoiceChipTip<T>({ - Key? key,
- required List<T> options,
- required T selectedOption,
- required ValueChanged<T?> onSelected,
- Map? tooltips,
- bool enabled = true,
- String getLabel(
- T
)?,
- bool isOptionDisabled(
- T
)?,
})
Implementation
const ChoiceChipTip({
super.key,
required this.options,
required this.selectedOption,
required this.onSelected,
this.tooltips,
this.enabled = true,
String Function(T)? getLabel,
this.isOptionDisabled,
}) : getLabel = getLabel ?? _defaultGetLabel;