appID
, region
, authKey
) initializedComponent / Class | Role |
---|---|
CometChatMessageList | Displays group messages and user avatars |
CometChatUserInfo | Shows user details and actions (e.g., “Message” button) |
PageManager | Handles navigation to the private chat screen |
lib/messages.dart | Main chat screen logic |
lib/user_info/cometchat_user_info.dart | User info and action UI |
lib/group_info/cometchat_group_info.dart
lib/user_info/cometchat_user_info.dart
CometChatUserInfo
screen opensSnackBar
or Toast
for error messages (e.g., “Cannot message this user”)Feature | Component / Method | File(s) |
---|---|---|
Show user info | CometChatUserInfo | lib/group_info/cometchat_group_info.dart |
Message user | PageManager.navigateToMessages | lib/user_info/cometchat_user_info.dart |
Access from group | Avatar/IconButton | lib/messages.dart |