CometChatSingleSelect constructor
const
CometChatSingleSelect({
- Key? key,
- required List<
OptionElement> options, - String? selectedValue,
- ValueChanged<
String> ? onChanged, - Color? optionBackground,
- Color? selectedOptionBackground,
- TextStyle? optionTextStyle,
- TextStyle? selectedOptionsTextStyle,
- Decoration? decoration,
- CometChatTheme? theme,
Implementation
const CometChatSingleSelect(
{super.key,
required this.options,
this.selectedValue,
this.onChanged,
this.optionBackground,
this.selectedOptionBackground,
this.optionTextStyle,
this.selectedOptionsTextStyle,
this.decoration,
this.theme});