Skip to main content
The Builder configuration controls everything the Flutter UI Kit Builder renders—messaging, AI helpers, calls, layout, theming, and more. This configuration is loaded from the cometchat-builder-settings.json file via BuilderSettingsHelper.
For developers customizing their chat UI: The configuration JSON file contains all your feature toggles, layout settings, and styling configuration. Edit this file to enable/disable features like messaging, calls, AI copilot, and theming. See the Integration Guide for setup.

Top-level Structure

The configuration JSON follows this structure:

All boolean settings follow the same pattern: true enables the feature and shows its UI elements, false hides them completely.

1. Chat Features (chatFeatures)

1.1 Core Messaging Experience (coreMessagingExperience)

Essential messaging features: typing indicators, media sharing, message actions, and presence.
Empower users with a seamless chat experience—reply to specific messages with quoted replies, mark conversations as unread for later, and search across all chats instantly. Learn more about Core Features.

1.2 Deeper User Engagement (deeperUserEngagement)

Interactive features: mentions, reactions, polls, voice notes, and collaborative tools.
Configure these features based on your app’s requirements. Learn more about Extensions.

1.3 AI User Copilot (aiUserCopilot)

AI-powered features to help users start and navigate conversations.
AI User Copilot features require an OpenAI API key. Configure it in the CometChat Dashboard under AI > Settings.

1.4 User Management (userManagement)

1.5 Group Management (groupManagement)

1.6 Moderator Controls (moderatorControls)

1.7 Private Messaging Within Groups (privateMessagingWithinGroups)

1.8 In-App Sounds (inAppSounds)


2. Call Features (callFeatures)

2.1 Voice and Video Calling (voiceAndVideoCalling)

Learn more about Call Features.

3. Layout (layout)

Set withSideBar: false for embedded chat widgets or single-conversation views where navigation isn’t needed.

4. Style (style)

4.1 Theme

4.2 Colors

4.3 Typography


Complete Settings Example


Accessing Settings in Code

Use the BuilderSettingsHelper to access settings in your Flutter code:

Dashboard Feature Requirements

Some features require additional configuration in the CometChat Dashboard:
AI Copilot Features (Conversation Starter, Conversation Summary, Smart Reply)
  • Requires an OpenAI API key configured in the Dashboard under AI > Settings
Stickers, Polls, Collaborative Tools, Message Translation
  • Requires the respective extensions to be enabled in the Dashboard under Extensions
Moderation
  • Requires moderation rules to be configured in the Dashboard under Moderation > Rules

Customize Beyond Settings

The settings JSON controls feature toggles, layout, and theme tokens. When you need finer control over what individual components render, the exported module is built on the standard CometChat Flutter UI Kit, so you can use its customization layers directly:

Message Templates

Customize message bubble content, headers, footers, and status views.

Component View Slots

Replace specific regions of a component’s UI using builder callbacks.

Theme Token Overrides

Override color palettes, typography, and spacing tokens.

Integration Guide

Wire the exported module into your Flutter app.