Skip to main content
The BuilderSettingsHelper handles basic feature toggles. For deeper customizations, modify the configuration JSON, theme settings, or component props directly.

Understanding the Customization Architecture

The Flutter UI Kit Builder uses these main files for customization:
FilePurposeWhen to Modify
cometchat-builder-settings.jsonFeature flags and configuration constantsFunctional changes (enable/disable features)
BuilderSettingsHelperUtility class for loading and accessing settingsRuntime configuration access
pubspec.yamlFont and asset declarationsAdding custom fonts or assets
The cometchat-builder-settings.json file is the source of truth for your Builder configuration. Update it and reload to apply changes.

Using BuilderSettingsHelper

The BuilderSettingsHelper provides access to your Builder configuration throughout your app.

Loading Configuration

Accessing Settings


Theme Customization

Applying Builder Theme to UI Kit

Apply the Builder configuration colors to your Flutter theme:

Custom Color Utilities

Create a utility class for working with Builder colors:

Custom Font Integration

Step 1: Add Font Files

Add your custom font files to the assets/fonts/ directory.

Step 2: Update pubspec.yaml

Register your custom fonts:

Step 3: Apply Custom Font

Update the configuration JSON or apply programmatically:

Component-Level Customizations

Conditional Rendering Based on Features

Use the configuration to conditionally render UI elements:

Customizing Message Options

Control which message options appear based on configuration:

Layout Customization

Dynamic Tab Configuration


Call Features Customization

Conditional Call Buttons


Reloading Configuration

Refresh Settings at Runtime