pubspec.yaml
App ID
, Region
, and Auth Key
Component/Class | Role |
---|---|
CometChatGroups | Displays groups and a “create” button |
CometChatCreateGroup | UI to create new groups |
CometChatContacts | Lets users search/join groups |
CometChatGroupInfo | Shows group info and member management options |
CometChatAddMembers | Add members to a group |
CometChatBannedMembers | View/unban banned users |
CometChatTransferOwnership | Transfer group ownership |
CometChatChangeScope | Change a user’s group role |
JoinProtectedGroupUtils | Utility to join password-protected groups |
dashboard.dart
join_protected_group_util.dart
group_info/cometchat_group_info.dart
add_members/cometchat_add_members.dart
banned_members/cometchat_banned_members.dart
group_info/cometchat_group_info_controller.dart
transfer_ownership/cometchat_transfer_ownership.dart
Feature | Component / Method | File Path |
---|---|---|
Create group | CometChatCreateGroup | create_group/cometchat_create_group.dart |
Join group | CometChatGroups , JoinProtectedGroupUtils | contacts/cometchat_contacts_controller.dart , utils/join_protected_group_util.dart |
View members | CometChatGroupInfo | group_info/cometchat_group_info.dart |
Add members | CometChatAddMembers | add_members/cometchat_add_members.dart |
Ban/unban members | CometChatBannedMembers | banned_members/cometchat_banned_members.dart |
Change scope | CometChatChangeScope | group_info/cometchat_group_info.dart |
Transfer ownership | CometChatTransferOwnership | transfer_ownership/cometchat_transfer_ownership.dart |