CometChatContacts constructor
const
CometChatContacts({
- Key? key,
- UsersConfiguration? usersConfiguration,
- UserGroupBuilder? onItemTap,
- GroupsConfiguration? groupsConfiguration,
- String? usersTabTitle,
- String? groupsTabTitle,
- CometChatTheme? theme,
- String? title,
- Widget? closeIcon,
- ContactsStyle contactsStyle = const ContactsStyle(),
- VoidCallback? onClose,
- dynamic onSubmitIconTap(
- BuildContext context,
- List<
User> ? selectedUsersList, - List<
Group> ? selectedGroupsList
- TabVisibility tabVisibility = TabVisibility.usersAndGroups,
- bool? hideSubmitIcon,
- int? selectionLimit = 5,
- SelectionMode? selectionMode,
- Widget? submitIcon,
- 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});