CometChatContacts constructor

const CometChatContacts({
  1. Key? key,
  2. UsersConfiguration? usersConfiguration,
  3. UserGroupBuilder? onItemTap,
  4. GroupsConfiguration? groupsConfiguration,
  5. String? usersTabTitle,
  6. String? groupsTabTitle,
  7. CometChatTheme? theme,
  8. String? title,
  9. Widget? closeIcon,
  10. ContactsStyle contactsStyle = const ContactsStyle(),
  11. VoidCallback? onClose,
  12. dynamic onSubmitIconTap(
    1. BuildContext context,
    2. List<User>? selectedUsersList,
    3. List<Group>? selectedGroupsList
    )?,
  13. TabVisibility tabVisibility = TabVisibility.usersAndGroups,
  14. bool? hideSubmitIcon,
  15. int? selectionLimit = 5,
  16. SelectionMode? selectionMode,
  17. Widget? submitIcon,
  18. SnackBarConfiguration? snackBarConfiguration,
})

Implementation

const CometChatContacts(
    {super.key,
    this.usersConfiguration,
    this.onItemTap,
    this.groupsConfiguration,
    this.usersTabTitle,
    this.groupsTabTitle,
    this.theme,
    this.title,
    this.closeIcon,
    this.contactsStyle = const ContactsStyle(),
    this.onClose,
    this.onSubmitIconTap,
    this.tabVisibility = TabVisibility.usersAndGroups,
    this.hideSubmitIcon,
    this.selectionLimit = 5,
    this.selectionMode,
    this.submitIcon,
    this.snackBarConfiguration});