This repository contains the Rocket.Chat Flutter SDK
, which includes the rocket_chat_embeddedchat_component
and rocket_chat_api
packages. These packages make it easier for developers to integrate and interact with Rocket.Chat in their Flutter applications.
We provide a variety of packages depending on the level of customization you want to achieve.
A Flutter package that provides a complete embedded chat UI component for Rocket.Chat.
A Flutter package that provides a comprehensive wrapper for the Rocket.Chat REST API.
Every package folder includes a fully functional sample app with setup instructions.
To use the packages in your Flutter project, follow these steps:
- Add the desired package to your
pubspec.yaml
file:
dependencies:
rocket_chat_embeddedchat_component: ^VERSION
// or
rocket_chat_api: ^VERSION
- Import the package in your Dart code:
import 'package:rocket_chat_embeddedchat_component/rocket_chat_embeddedchat_component.dart';
// or
import 'package:rocket_chat_api/rocket_chat_api.dart';
- Follow the documentation and sample apps to learn how to use the packages.
Rocket.Chat Flutter SDK is a monorepo built using Melos. Individual packages can be found in the packages
directory while configuration and top-level commands can be found in melos.yaml
.
To get started, run bootstrap
after cloning the project.
melos bootstrap
We welcome contributions to the Rocket.Chat Flutter SDK! Before contributing, please read the CONTRIBUTING.md file for guidelines on how to contribute and set up the development environment.
This project is licensed under the MIT License. See the LICENSE file for details.