supabase_chat_widgets 0.1.0 copy "supabase_chat_widgets: ^0.1.0" to clipboard
supabase_chat_widgets: ^0.1.0 copied to clipboard

Optional Flutter widgets for supabase_chat: a drop-in ChatView plus message bubble, composer, and typing indicator building blocks.

example/README.md

supabase_chat_widgets example #

Drop a full chat screen into your app with one widget.

import 'package:flutter/material.dart';
import 'package:supabase_chat/supabase_chat.dart';
import 'package:supabase_chat_widgets/supabase_chat_widgets.dart';

class RoomScreen extends StatelessWidget {
  const RoomScreen({required this.room, super.key});

  final ChatRoom room;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Chat')),
      // Live messages, optimistic send, replies, reactions, media, typing —
      // all wired. Long-press toggles 👍 by default.
      body: ChatView(room: room),
    );
  }
}

For the end-to-end encrypted variant, use EncryptedChatView with an EncryptedChatRoom from supabase_chat_e2ee (includes a safety-number verification banner). A complete, backend-free demo lives in the repository at example/lib/preview_e2ee.dart.

0
likes
160
points
55
downloads

Documentation

API reference

Publisher

verified publisherandroidpoet.dev

Weekly Downloads

Optional Flutter widgets for supabase_chat: a drop-in ChatView plus message bubble, composer, and typing indicator building blocks.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, supabase_chat, supabase_realtime_kit

More

Packages that depend on supabase_chat_widgets