CometChatSingleSelect constructor

const CometChatSingleSelect({
  1. Key? key,
  2. required List<OptionElement> options,
  3. String? selectedValue,
  4. ValueChanged<String>? onChanged,
  5. Color? optionBackground,
  6. Color? selectedOptionBackground,
  7. TextStyle? optionTextStyle,
  8. TextStyle? selectedOptionsTextStyle,
  9. Decoration? decoration,
  10. 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});