Skip to content

Actively maintained, community-driven chat UI implementation with an optional Firebase BaaS.

License

Notifications You must be signed in to change notification settings

flyerhq/flutter_chat_ui

Repository files navigation

Ship faster with a go-to chat SDK for Flutter.

Pub Version Pub Likes Stars melos

Flyer Chat is an open-source chat UI package for Flutter applications, designed for performance, customization, and ease of integration.

✨ Features

  • 🔄 Backend-agnostic: Connect to any backend service.
  • 🎨 Highly Customizable: Tailor the UI with extensive theme options and builder functions.
  • 🧩 Modular: Pick and choose the features you want. You can change any part of the UI or swap it with your own custom implementation.
  • Performance Optimized: Built for speed and smooth animations.
  • 🌐 Cross-Platform: Supports iOS, Android, Web, macOS, Windows, and Linux.
  • 📜 Open Source: Free to use under the Apache 2.0 License.

🚀 Installation

Add the package to your pubspec.yaml:

dependencies:
  flutter_chat_core: ^ # Use the latest version
  flutter_chat_ui: ^2.0.0

Then, import and use the Chat widget.

📚 Documentation & Examples

For detailed usage, customization options, different message types, controllers, and more complex scenarios, please refer to the full documentation:

➡️ flyer.chat/docs/flutter ⬅️

Explore the comprehensive example application to see various features and customizations in action.

📦 Packages

The project is structured as a monorepo managed by Melos 💙.

Core Packages

These are the foundational packages included when you install flutter_chat_ui:

  • flutter_chat_ui: The main UI package.
  • flutter_chat_core: Contains core models, controllers, theming, and utilities used across the ecosystem.
  • cross_cache: Provides a cross-platform (IO & Web) image caching solution.

Optional Message Widget Packages

Opinionated packages for rendering different message types. You can also build your own!

🤝 Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines on how to contribute.

📜 License

Licensed under the Apache License, Version 2.0. See the LICENSE file for details.