Overview
The realtime_client package enables Flutter applications to receive live updates from a PostgreSQL database using WebSockets, specifically designed for integration with the Supabase Realtime server. It allows apps to listen to database changes in real time, such as inserts, updates, and deletions, ensuring data remains synchronized across clients without manual polling. Ideal for collaborative apps, chat systems, or dashboards requiring instant data refreshes. The package supports all major platforms, including mobile, web, and desktop, making it suitable for cross-platform real-time experiences.
Use cases
- Real-time chat applications
- Live dashboard updates
- Collaborative editing tools
- Instant notification systems
- Database change monitoring
Key features
- WebSocket-based real-time updates
- Supabase Realtime server integration
- Cross-platform support
- Event-driven data listening
- Automatic reconnection handling
Suitable for
- Developers building real-time features
- Apps requiring live data synchronization
- Supabase-powered projects
- Multi-user interactive applications
- Full-stack Flutter developers
Considerations
- Requires a Supabase project with Realtime enabled
- Network connectivity needed for WebSocket communication
- Potential performance impact with high-frequency events
- Authentication required for secure channel access
- Limited to Supabase's Realtime infrastructure