flutter_supabase_chat_core
2.0.1, released yesterday by insideapp.it
Supabase BaaS integration for Flutter chat applications with optional UI support.
What it does
Provides a complete chat backend using Supabase, PostgreSQL, Row Level Security, and Realtime broadcasts. Includes room management, messages with media, read receipts, reactions, and an optional chat UI controller.
AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a chat or messaging feature using Supabase as your backend.
- You need real-time messaging, typing indicators, and room management out of the box.
- You want support for pagination, read receipts, and message attachments over PostgreSQL RLS.
Skip it when
- You are using Firebase instead of Supabase as your backend.
- You are not using Supabase or Postgres for your database needs.
Strengths
- Realtime sync over private Broadcast channels and Presence.
- Secure by default with PostgreSQL Row Level Security (RLS).
- Optimistic sending with retry support and cursor-based pagination.
- Supports group management, roles, and Telegram-like chat features.
Weaknesses
- Requires running specific SQL scripts and database extensions (pg_partman, pg_cron) on Supabase.
- Requires careful evaluation before integrating into large-scale projects.
- Migration from 1.x requires a maintenance window and database schema updates.
Setup
- Kind
- Flutter widgets
- Effort
- High
- Code generation
- No
- Direct dependencies
- 6
Requires initializing Supabase, running a sequence of custom SQL scripts on your Supabase database, and exposing the chats schema.
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
await Supabase.initialize(
url: 'https://<project-ref>.supabase.co',
publishableKey: '<anon-or-publishable-key>',
);
runApp(
const MaterialApp(home: UserOnlineStateObserver(child: RoomsPage())),
);
}Alternatives
Packages that do the same job and could replace flutter_supabase_chat_core.
- flutter_firebase_chat_core
Firebase backend integration for chat applications in Flutter.
50Compare
Works with
Packages commonly used together with flutter_supabase_chat_core: ones it builds on, ones built on it, and its own family.
- uuidflutter_supabase_chat_core depends on itGenerates and parses RFC‑4122/9562 UUIDs (v1‑v8) for Dart.
- mimeflutter_supabase_chat_core depends on itUtilities to resolve MIME types from file names, magic bytes, and to parse multipart streams.
- webflutter_supabase_chat_core depends on itLightweight bindings for browser APIs via JS interop
- supabase_flutterflutter_supabase_chat_core depends on itFlutter client for Supabase providing auth, database, realtime, storage and edge functions.
- flutter_chat_coreflutter_supabase_chat_core depends on itCore data models, controllers, and utilities for the Flyer Chat ecosystem.