Skip to main content
The UI Kit Builder for Flutter organizes code into a modular structure with the chat_builder package containing all Builder-specific code. This guide helps you navigate the structure so you know exactly where to make changes.

Root Files


Key Folders

chat_builder/

The Builder module containing all UI Kit Builder functionality.

chat_builder/lib/utils/

Utility classes and helpers.

chat_builder/lib/screens/

UI screens for different features.

chat_builder/lib/widgets/

Reusable UI widgets.

Assets Directory

Static assets including configuration, fonts, and images.

Platform Directories

ios/

iOS-specific native code and configuration.

android/

Android-specific native code and configuration.

Quick Reference: Where to Customize

Prefer using cometchat-builder-settings.json for feature toggles and the MaterialApp theme for styling. For extensive changes, create new widgets rather than modifying core files directly.

pubspec.yaml Configuration

Ensure your pubspec.yaml includes the Builder module and assets:

Next Steps

UI Kit Builder Settings

Configure feature toggles and behavior.

Customizations

Modify component props, styling, and behavior.

Theming

Customize colors, typography, and styling.

Components

Explore available UI components.