Skip to content
pubscout

cometchat_chat_uikit

6.3.0, released 10 days ago by cometchat.com

Prebuilt UI components for text chat, media messaging, and voice/video calls.

$ flutter pub add cometchat_chat_uikit
Source repository

What it does

Provides ready-made UI components and screens for messaging, user and group management, and voice/video calling. Integrates with the CometChat backend SDK to handle chat functionality and real-time communication out of the box.

AI-written summary of version 6.3.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to add fully-featured chat and messaging to your Flutter app quickly
  • You need built-in voice and video calling screens tied to CometChat SDK
  • You want customizable chat components with support for theming and localization

Skip it when

  • You are building your own custom chat UI from scratch and only need raw backend API clients
  • You use a chat backend other than CometChat

Strengths

  • Comprehensive UI components for conversations, messages, users, and groups
  • Built-in voice and video calling support via Calls SDK
  • Theming and localization support

Weaknesses

  • Tightly coupled to the proprietary CometChat backend and SDK
  • High dependency footprint

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
23

Requires creating an app in the CometChat Dashboard, obtaining App ID, Region, and Auth Key, and configuring SDK initialization.

Future<void> initCometChat() async {
  final uiKitSettings = (UIKitSettingsBuilder()
        ..subscriptionType = CometChatSubscriptionType.allUsers
        ..region = '<YOUR_REGION>'
        ..appId = '<YOUR_APP_ID>'
        ..authKey = '<YOUR_AUTH_KEY>'
        ..autoEstablishSocketConnection = true)
      .build();

  CometChatUIKit.init(
    uiKitSettings: uiKitSettings,
    onSuccess: (_) {
      CometChatUIKit.login('<UID>', onSuccess: (_) {}, onError: (_) {});
    },
    onError: (_) {},
  );
}

Alternatives

Packages that do the same job and could replace cometchat_chat_uikit.

Works with

Packages commonly used together with cometchat_chat_uikit: ones it builds on, ones built on it, and its own family.