Skip to content
pubscout

flutter_supabase_chat_core

2.0.1, released yesterday by insideapp.it

Supabase BaaS integration for Flutter chat applications with optional UI support.

WASM-ready
$ flutter pub add flutter_supabase_chat_core
Source repository

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.

Works with

Packages commonly used together with flutter_supabase_chat_core: ones it builds on, ones built on it, and its own family.