CometChatSingleSelectButton constructor

const CometChatSingleSelectButton({
  1. Key? key,
  2. required bool selected,
  3. required String label,
  4. required VoidCallback onSelected,
  5. Color? optionBackground,
  6. Color? selectedOptionBackground,
  7. TextStyle? optionTextStyle,
  8. TextStyle? selectedOptionsTextStyle,
})

Implementation

const CometChatSingleSelectButton(
    {super.key,
    required this.selected,
    required this.label,
    required this.onSelected,
    this.optionBackground,
    this.selectedOptionBackground,
    this.optionTextStyle,
    this.selectedOptionsTextStyle});