FLUTTER ECOSYSTEM

phoenix_socket

PhoenixSocket provides a feature-complete implementation of Phoenix Sockets, using a single API based on StreamChannels compatible with any deployment of Flutter.

Latest version
0.8.0
30-day downloads
10.2K
Likes
58
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

PhoenixSocket is a Dart package that offers a complete implementation of Phoenix Sockets, enabling real-time communication in Flutter apps through a unified StreamChannel-based API. It seamlessly integrates with any Phoenix server deployment and supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux. Designed for reliability and ease of use, it allows developers to build reactive, live-updating applications with minimal setup. The package ensures consistent behavior across environments while maintaining compatibility with existing Phoenix ecosystems.

Use cases
  • Real-time chat applications
  • Live data dashboards
  • Multiplayer game synchronization
  • Push notifications
  • Collaborative editing tools
Key features
  • StreamChannel-based API
  • Cross-platform support
  • Phoenix server compatibility
  • Reconnection handling
  • Event-driven architecture
Suitable for
  • Real-time app development
  • Flutter apps using Phoenix backend
  • Apps requiring low-latency updates
  • Developers familiar with Phoenix framework
  • Projects targeting multiple platforms
Considerations
  • Requires a running Phoenix server
  • May need additional error handling for production
  • Depends on external WebSocket infrastructure
  • Not suitable for non-Phoenix backends
  • Limited to use cases needing bidirectional real-time communication
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add phoenix_socket

Categories

Dependencies

Dependency list 3 items

Related projects