What’s New in V6?
- BLoC State Management – Replaces GetX with flutter_bloc for predictable, testable state.
- Clean Architecture – Every module follows
bloc/+data/+domain/+di/layers. - No DataSource Decorator Chain – Direct static method calls via
MessageTemplateUtilsreplace the 10-layer decorator pattern. - Internalized Shared UI –
cometchat_uikit_sharedis now part of the package, no separate dependency needed. - Faster Startup – No extension registration or network calls at init time.
Why Choose CometChat UI Kit V6?
- Rapid Integration – Prebuilt UI widgets for faster deployment.
- Customizable & Flexible – Modify the UI to align with your brand’s identity.
- Cross-Platform Compatibility – Works seamlessly across iOS and Android platforms.
- Scalable & Reliable – Built on CometChat’s robust chat infrastructure.
- Testable – BLoC pattern with
bloc_testandmocktailfor comprehensive testing. - Better Performance – ~500-2000ms faster startup, no decorator chain overhead.
Integration
UI Components (Assemble It Yourself)
A collection of individual widgets—like conversation lists, message lists, message composer, etc.—each with built-in chat logic so you can customize every element. How It Works- Import the widgets you need from the UI Kit.
- Arrange them in your desired layout, applying styling or customization as needed.
- Each widget integrates with CometChat logic via BLoC and clean architecture layers.
- Flexible Design – You control the final UI arrangement.
- No Extra Overhead – Implement only the features you need.
- Modular – Use exactly what you want, when you want.
Before Getting Started
Before you begin, grasp the fundamental concepts and features offered by CometChat’s APIs, SDK, and UI Kit. You can find detailed information in the Key Concepts documentation. To begin, please follow the Getting Started guide.Next Steps for Developers
- Learn the Basics – Key Concepts.
- Follow the Setup Guide – V6 Getting Started
- Customize UI – Adjust styles, themes, and widgets.
- Test & Deploy – Run tests and launch your chat app.
Helpful Resources
Flutter Sample App
Fully functional sample applications to accelerate your development.View on GitHub
V5 to V6 Migration Guide
Upgrade from V5 to V6 with our step-by-step migration guide.View Migration Guide