inapp_chat library

A simple, complete chat system for Flutter, pluggable across Cloud Firestore, Appwrite, and Supabase.

This entry point exports the backend-agnostic core only. Import the ChatBackend implementation you use directly, e.g.:

import 'package:flutter_inapp_chat/inapp_chat.dart';
import 'package:flutter_inapp_chat/backends/firestore_chat_backend.dart';

This keeps cloud_firestore/firebase_storage, appwrite, and supabase_flutter APIs out of your build unless you actually reference them.

Classes

ChatBackend
Pluggable storage/realtime backend for InappChat.
ChatBackendMessage
A single stored chat message, normalized across backends.
ChatEntity
Describes a single chat conversation: who is in it, which ChatBackend stores it, and how it should behave.
ChatModel
A chat message as stored in and read from a ChatBackend.
InappChat
Entry point for opening the chat UI backed by a ChatEntity's ChatBackend.
PeerUser
A lightweight representation of a chat participant.